sung.pydantic_models

Pydantic models generated by datamodel-codegen using the Spotify API OpenAPI spec.

python -m datamodel_code_generator –url https://raw.githubusercontent.com/sonallux/spotify-web-api/refs/heads/main/fixed-spotify-open-api.yml –input-file-type openapi –output pydantic_models.py

I used

https://raw.githubusercontent.com/sonallux/spotify-web-api/refs/heads/main/fixed-spotify-open-api.yml

because that version claims to be more correct than the official Spotify API spec:

https://developer.spotify.com/reference/web-api/open-api-schema.yaml

Classes

AlbumBase(**data)

AlbumGroup(*values)

AlbumObject(**data)

AlbumRestrictionObject(**data)

AlbumType(*values)

ArtistDiscographyAlbumObject(**data)

ArtistObject(**data)

AudioAnalysisObject(**data)

AudioFeaturesObject(**data)

AudiobookBase(**data)

AudiobookObject(**data)

AuthorObject(**data)

CategoryObject(**data)

ChapterBase(**data)

ChapterObject(**data)

ChapterRestrictionObject(**data)

ContextObject(**data)

CopyrightObject(**data)

CurrentlyPlayingContextObject(**data)

CurrentlyPlayingObject(**data)

CursorObject(**data)

CursorPagingObject(**data)

CursorPagingPlayHistoryObject(**data)

CursorPagingSimplifiedArtistObject(**data)

DeviceObject(**data)

DisallowsObject(**data)

EpisodeBase(**data)

EpisodeObject(**data)

EpisodeRestrictionObject(**data)

ErrorObject(**data)

ExplicitContentSettingsObject(**data)

ExternalIdObject(**data)

ExternalUrlObject(**data)

FollowersObject(**data)

ImageObject(**data)

Key([root])

LinkedTrackObject(**data)

Loudness([root])

Meta(**data)

Mode([root])

Mode1(*values)

NarratorObject(**data)

PagingArtistDiscographyAlbumObject(**data)

PagingArtistObject(**data)

PagingFeaturedPlaylistObject(**data)

PagingObject(**data)

PagingPlaylistObject(**data)

PagingPlaylistTrackObject(**data)

PagingSavedAlbumObject(**data)

PagingSavedAudiobookObject(**data)

PagingSavedEpisodeObject(**data)

PagingSavedShowObject(**data)

PagingSavedTrackObject(**data)

PagingSimplifiedAlbumObject(**data)

PagingSimplifiedAudiobookObject(**data)

PagingSimplifiedChapterObject(**data)

PagingSimplifiedEpisodeObject(**data)

PagingSimplifiedShowObject(**data)

PagingSimplifiedTrackObject(**data)

PagingTrackObject(**data)

PlayHistoryObject(**data)

PlaylistObject(**data)

PlaylistOwnerObject(**data)

PlaylistTrackObject(**data)

PlaylistTracksRefObject(**data)

PlaylistUserObject(**data)

PrivateUserObject(**data)

PublicUserObject(**data)

Queue([root])

QueueObject(**data)

Reason(*values)

RecommendationSeedObject(**data)

RecommendationsObject(**data)

ReleaseDatePrecision(*values)

ResumePointObject(**data)

SavedAlbumObject(**data)

SavedAudiobookObject(**data)

SavedEpisodeObject(**data)

SavedShowObject(**data)

SavedTrackObject(**data)

SectionObject(**data)

SegmentObject(**data)

ShowBase(**data)

ShowObject(**data)

SimplifiedAlbumObject(**data)

SimplifiedArtistObject(**data)

SimplifiedAudiobookObject(**data)

SimplifiedChapterObject(**data)

SimplifiedEpisodeObject(**data)

SimplifiedPlaylistObject(**data)

SimplifiedShowObject(**data)

SimplifiedTrackObject(**data)

Tempo([root])

TimeIntervalObject(**data)

TimeSignature([root])

Track(**data)

TrackObject(**data)

TrackRestrictionObject(**data)

Type(*values)

Type10(*values)

Type2(*values)

Type3(*values)

Type4(*values)

Type5(*values)

Type6(*values)

Type7(*values)

Type8(*values)

Type9(*values)

class sung.pydantic_models.AlbumBase(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.AlbumGroup(*values)[source]

Bases: Enum

class sung.pydantic_models.AlbumObject(**data)[source]

Bases: AlbumBase

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.AlbumRestrictionObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.AlbumType(*values)[source]

Bases: Enum

class sung.pydantic_models.ArtistDiscographyAlbumObject(**data)[source]

Bases: SimplifiedAlbumObject

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.ArtistObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.AudioAnalysisObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.AudioFeaturesObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.AudiobookBase(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.AudiobookObject(**data)[source]

Bases: AudiobookBase

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.AuthorObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.CategoryObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.ChapterBase(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.ChapterObject(**data)[source]

Bases: ChapterBase

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.ChapterRestrictionObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.ContextObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.CopyrightObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.CurrentlyPlayingContextObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.CurrentlyPlayingObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.CursorObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.CursorPagingObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.CursorPagingPlayHistoryObject(**data)[source]

Bases: CursorPagingObject

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.CursorPagingSimplifiedArtistObject(**data)[source]

Bases: CursorPagingObject

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.DeviceObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.DisallowsObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.EpisodeBase(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.EpisodeObject(**data)[source]

Bases: EpisodeBase

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.EpisodeRestrictionObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.ErrorObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.ExplicitContentSettingsObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.ExternalIdObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.ExternalUrlObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.FollowersObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.ImageObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.Key(root=PydanticUndefined, **data)[source]

Bases: RootModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.LinkedTrackObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.Loudness(root=PydanticUndefined, **data)[source]

Bases: RootModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.Meta(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.Mode(root=PydanticUndefined, **data)[source]

Bases: RootModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.Mode1(*values)[source]

Bases: Enum

class sung.pydantic_models.NarratorObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PagingArtistDiscographyAlbumObject(**data)[source]

Bases: PagingObject

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PagingArtistObject(**data)[source]

Bases: PagingObject

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PagingFeaturedPlaylistObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PagingObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PagingPlaylistObject(**data)[source]

Bases: PagingObject

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PagingPlaylistTrackObject(**data)[source]

Bases: PagingObject

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PagingSavedAlbumObject(**data)[source]

Bases: PagingObject

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PagingSavedAudiobookObject(**data)[source]

Bases: PagingObject

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PagingSavedEpisodeObject(**data)[source]

Bases: PagingObject

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PagingSavedShowObject(**data)[source]

Bases: PagingObject

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PagingSavedTrackObject(**data)[source]

Bases: PagingObject

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PagingSimplifiedAlbumObject(**data)[source]

Bases: PagingObject

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PagingSimplifiedAudiobookObject(**data)[source]

Bases: PagingObject

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PagingSimplifiedChapterObject(**data)[source]

Bases: PagingObject

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PagingSimplifiedEpisodeObject(**data)[source]

Bases: PagingObject

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PagingSimplifiedShowObject(**data)[source]

Bases: PagingObject

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PagingSimplifiedTrackObject(**data)[source]

Bases: PagingObject

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PagingTrackObject(**data)[source]

Bases: PagingObject

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PlayHistoryObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PlaylistObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PlaylistOwnerObject(**data)[source]

Bases: PlaylistUserObject

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PlaylistTrackObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PlaylistTracksRefObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PlaylistUserObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PrivateUserObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.PublicUserObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.Queue(root=PydanticUndefined, **data)[source]

Bases: RootModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.QueueObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.Reason(*values)[source]

Bases: Enum

class sung.pydantic_models.RecommendationSeedObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.RecommendationsObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.ReleaseDatePrecision(*values)[source]

Bases: Enum

class sung.pydantic_models.ResumePointObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.SavedAlbumObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.SavedAudiobookObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.SavedEpisodeObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.SavedShowObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.SavedTrackObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.SectionObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.SegmentObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.ShowBase(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.ShowObject(**data)[source]

Bases: ShowBase

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.SimplifiedAlbumObject(**data)[source]

Bases: AlbumBase

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.SimplifiedArtistObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.SimplifiedAudiobookObject(**data)[source]

Bases: AudiobookBase

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.SimplifiedChapterObject(**data)[source]

Bases: ChapterBase

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.SimplifiedEpisodeObject(**data)[source]

Bases: EpisodeBase

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.SimplifiedPlaylistObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.SimplifiedShowObject(**data)[source]

Bases: ShowBase

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.SimplifiedTrackObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.Tempo(root=PydanticUndefined, **data)[source]

Bases: RootModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.TimeIntervalObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.TimeSignature(root=PydanticUndefined, **data)[source]

Bases: RootModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.Track(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.TrackObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.TrackRestrictionObject(**data)[source]

Bases: BaseModel

model_config: ClassVar[ConfigDict] = {}

Configuration for the model, should be a dictionary conforming to [ConfigDict][pydantic.config.ConfigDict].

class sung.pydantic_models.Type(*values)[source]

Bases: Enum

class sung.pydantic_models.Type10(*values)[source]

Bases: Enum

class sung.pydantic_models.Type2(*values)[source]

Bases: Enum

class sung.pydantic_models.Type3(*values)[source]

Bases: Enum

class sung.pydantic_models.Type4(*values)[source]

Bases: Enum

class sung.pydantic_models.Type5(*values)[source]

Bases: Enum

class sung.pydantic_models.Type6(*values)[source]

Bases: Enum

class sung.pydantic_models.Type7(*values)[source]

Bases: Enum

class sung.pydantic_models.Type8(*values)[source]

Bases: Enum

class sung.pydantic_models.Type9(*values)[source]

Bases: Enum