Module adcp.types.generated_poc.enums.distribution_identifier_type

Classes

class DistributionIdentifierType (*args, **kwds)
Expand source code
class DistributionIdentifierType(Enum):
    apple_podcast_id = 'apple_podcast_id'
    spotify_collection_id = 'spotify_collection_id'
    rss_url = 'rss_url'
    podcast_guid = 'podcast_guid'
    amazon_music_id = 'amazon_music_id'
    iheart_id = 'iheart_id'
    podcast_index_id = 'podcast_index_id'
    youtube_channel_id = 'youtube_channel_id'
    youtube_playlist_id = 'youtube_playlist_id'
    amazon_title_id = 'amazon_title_id'
    roku_channel_id = 'roku_channel_id'
    pluto_channel_id = 'pluto_channel_id'
    tubi_id = 'tubi_id'
    peacock_id = 'peacock_id'
    tiktok_id = 'tiktok_id'
    twitch_channel = 'twitch_channel'
    imdb_id = 'imdb_id'
    gracenote_id = 'gracenote_id'
    eidr_id = 'eidr_id'
    domain = 'domain'
    substack_id = 'substack_id'

Create a collection of name/value pairs.

Example enumeration:

>>> class Color(Enum):
...     RED = 1
...     BLUE = 2
...     GREEN = 3

Access them by:

  • attribute access::
>>> Color.RED
<Color.RED: 1>
  • value lookup:
>>> Color(1)
<Color.RED: 1>
  • name lookup:
>>> Color['RED']
<Color.RED: 1>

Enumerations can be iterated over, and know how many members they have:

>>> len(Color)
3
>>> list(Color)
[<Color.RED: 1>, <Color.BLUE: 2>, <Color.GREEN: 3>]

Methods can be added to enumerations, and members can have their own attributes – see the documentation for details.

Ancestors

  • enum.Enum

Class variables

var amazon_music_id
var amazon_title_id
var apple_podcast_id
var domain
var eidr_id
var gracenote_id
var iheart_id
var imdb_id
var peacock_id
var pluto_channel_id
var podcast_guid
var podcast_index_id
var roku_channel_id
var rss_url
var spotify_collection_id
var substack_id
var tiktok_id
var tubi_id
var twitch_channel
var youtube_channel_id
var youtube_playlist_id