Sonarr
Constants
VERSION = "0.2.1"
Macros
def_string_enum(name, members)
Defines a string-valued enum whose JSON representation is the exact
camelCase value declared in ext/schema.json.
Crystal's default Enum#to_json emits snake_case member names, which the
Sonarr API rejects on writes. This macro overrides serialization so writes
emit the schema's literal values while reads stay lenient (the built-in
case/underscore-insensitive parse is used as a fallback).
Nested types
- Sonarr::Api
- Sonarr::ApiError
- Sonarr::ApplyTags
- Sonarr::AuthenticationRequiredType
- Sonarr::AuthenticationType
- Sonarr::BackupType
- Sonarr::CertificateValidationType
- Sonarr::Client
- Sonarr::CommandPriority
- Sonarr::CommandResult
- Sonarr::CommandStatus
- Sonarr::CommandTrigger
- Sonarr::DatabaseType
- Sonarr::DownloadProtocol
- Sonarr::EpisodeHistoryEventType
- Sonarr::EpisodeTitleRequiredType
- Sonarr::Error
- Sonarr::FileDateType
- Sonarr::HealthCheckResult
- Sonarr::ImportListType
- Sonarr::ListSyncLevelType
- Sonarr::MediaCoverTypes
- Sonarr::Model
- Sonarr::MonitorTypes
- Sonarr::NewItemMonitorTypes
- Sonarr::PrivacyLevel
- Sonarr::ProperDownloadTypes
- Sonarr::ProviderMessageType
- Sonarr::ProxyType
- Sonarr::QualitySource
- Sonarr::Query
- Sonarr::QueueStatus
- Sonarr::RejectionType
- Sonarr::ReleaseType
- Sonarr::RescanAfterRefreshType
- Sonarr::RuntimeMode
- Sonarr::SeriesStatusType
- Sonarr::SeriesTypes
- Sonarr::SortDirection
- Sonarr::TimeConverter
- Sonarr::TimeoutError
- Sonarr::TrackedDownloadState
- Sonarr::TrackedDownloadStatus
- Sonarr::UpdateMechanism