All Downloads are FREE. Search and download functionalities are using the official Maven repository.

commonMain.qbittorrent.models.QBittorrentPrefsSerialNameMap.kt Maven / Gradle / Ivy

package qbittorrent.models

import kotlin.String

internal object QBittorrentPrefsSerialNameMap {
  public fun map(fieldName: String): String = when (fieldName) {
    "createSubfolderEnabled" -> "create_subfolder_enabled"
    "startPausedEnabled" -> "start_paused_enabled"
    "autoDeleteMode" -> "auto_delete_mode"
    "preallocateAll" -> "preallocate_all"
    "incompleteFilesExt" -> "incomplete_files_ext"
    "autoTmmEnabled" -> "auto_tmm_enabled"
    "torrentChangedTmmEnabled" -> "torrent_changed_tmm_enabled"
    "savePathChangedTmmEnabled" -> "save_path_changed_tmm_enabled"
    "categoryChangedTmmEnabled" -> "category_changed_tmm_enabled"
    "savePath" -> "save_path"
    "tempPathEnabled" -> "temp_path_enabled"
    "tempPath" -> "temp_path"
    "scanDirs" -> "scan_dirs"
    "exportDir" -> "export_dir"
    "exportDirFinished" -> "export_dir_fin"
    "mailNotificationEnabled" -> "mail_notification_enabled"
    "mailNotificationSender" -> "mail_notification_sender"
    "mailNotificationEmail" -> "mail_notification_email"
    "mailNotificationSmtp" -> "mail_notification_smtp"
    "mailNotificationSslEnabled" -> "mail_notification_ssl_enabled"
    "mailNotificationAuthEnabled" -> "mail_notification_auth_enabled"
    "mailNotificationUsername" -> "mail_notification_username"
    "mailNotificationPassword" -> "mail_notification_password"
    "autorunEnabled" -> "autorun_enabled"
    "autorunProgram" -> "autorun_program"
    "queueingEnabled" -> "queueing_enabled"
    "maxActiveDownloads" -> "max_active_downloads"
    "maxActiveTorrents" -> "max_active_torrents"
    "maxActiveUploads" -> "max_active_uploads"
    "dontCountSlowTorrents" -> "dont_count_slow_torrents"
    "slowTorrentDlRateThreshold" -> "slow_torrent_dl_rate_threshold"
    "slowTorrentUlRateThreshold" -> "slow_torrent_ul_rate_threshold"
    "slowTorrentInactiveTimer" -> "slow_torrent_inactive_timer"
    "maxRatioEnabled" -> "max_ratio_enabled"
    "maxRatio" -> "max_ratio"
    "maxRatioAction" -> "max_ratio_act"
    "listenPort" -> "listen_port"
    "randomPort" -> "random_port"
    "dlLimit" -> "dl_limit"
    "upLimit" -> "up_limit"
    "maxConnections" -> "max_connec"
    "maxConnectionsPerTorrent" -> "max_connec_per_torrent"
    "maxUploads" -> "max_uploads"
    "maxUploadsPerTorrent" -> "max_uploads_per_torrent"
    "stopTrackerTimeout" -> "stop_tracker_timeout"
    "enablePieceExtentAffinity" -> "enable_piece_extent_affinity"
    "bittorrentProtocol" -> "bittorrent_protocol"
    "limitUtpRate" -> "limit_utp_rate"
    "limitTcpOverhead" -> "limit_tcp_overhead"
    "limitLanPeers" -> "limit_lan_peers"
    "altDlLimit" -> "alt_dl_limit"
    "altUpLimit" -> "alt_up_limit"
    "schedulerEnabled" -> "scheduler_enabled"
    "scheduleFromHour" -> "schedule_from_hour"
    "scheduleFromMin" -> "schedule_from_min"
    "scheduleToHour" -> "schedule_to_hour"
    "scheduleToMin" -> "schedule_to_min"
    "schedulerDays" -> "scheduler_days"
    "anonymousMode" -> "anonymous_mode"
    "proxyType" -> "proxy_type"
    "proxyIp" -> "proxy_ip"
    "proxyPort" -> "proxy_port"
    "proxyPeerConnections" -> "proxy_peer_connections"
    "proxyAuthEnabled" -> "proxy_auth_enabled"
    "proxyUsername" -> "proxy_username"
    "proxyPassword" -> "proxy_password"
    "proxyTorrentsOnly" -> "proxy_torrents_only"
    "ipFilterEnabled" -> "ip_filter_enabled"
    "ipFilterPath" -> "ip_filter_path"
    "ipFilterTrackers" -> "ip_filter_trackers"
    "webUiDomainList" -> "web_ui_domain_list"
    "webUiAddress" -> "web_ui_address"
    "webUiPort" -> "web_ui_port"
    "webUiUpnp" -> "web_ui_upnp"
    "webUiUsername" -> "web_ui_username"
    "webUiPassword" -> "web_ui_password"
    "webUiCsrfProtectionEnabled" -> "web_ui_csrf_protection_enabled"
    "webUiClickjackingProtectionEnabled" -> "web_ui_clickjacking_protection_enabled"
    "webUiSecureCookieEnabled" -> "web_ui_secure_cookie_enabled"
    "webUiMaxAuthFailCount" -> "web_ui_max_auth_fail_count"
    "webUiBanDuration" -> "web_ui_ban_duration"
    "webUiSessionTimeout" -> "web_ui_session_timeout"
    "webUiHostHeaderValidationEnabled" -> "web_ui_host_header_validation_enabled"
    "bypassLocalAuth" -> "bypass_local_auth"
    "bypassAuthSubnetWhitelistEnabled" -> "bypass_auth_subnet_whitelist_enabled"
    "bypassAuthSubnetWhitelist" -> "bypass_auth_subnet_whitelist"
    "alternativeWebUiEnabled" -> "alternative_webui_enabled"
    "alternativeWebUiPath" -> "alternative_webui_path"
    "useHttps" -> "use_https"
    "webUiHttpsKeyPath" -> "web_ui_https_key_path"
    "webUiHttpsCertPath" -> "web_ui_https_cert_path"
    "dyndnsEnabled" -> "dyndns_enabled"
    "dyndnsService" -> "dyndns_service"
    "dyndnsUsername" -> "dyndns_username"
    "dyndnsPassword" -> "dyndns_password"
    "dyndnsDomain" -> "dyndns_domain"
    "rssRefreshInterval" -> "rss_refresh_interval"
    "rssMaxArticlesPerFeed" -> "rss_max_articles_per_feed"
    "rssProcessingEnabled" -> "rss_processing_enabled"
    "rssAutoDownloadingEnabled" -> "rss_auto_downloading_enabled"
    "rssDownloadRepackProperEpisodes" -> "rss_download_repack_proper_episodes"
    "rssSmartEpisodeFilters" -> "rss_smart_episode_filters"
    "addTrackersEnabled" -> "add_trackers_enabled"
    "addTrackers" -> "add_trackers"
    "webUiUseCustomHttpHeadersEnabled" -> "web_ui_use_custom_http_headers_enabled"
    "webUiCustomHttpHeaders" -> "web_ui_custom_http_headers"
    "maxSeedingTimeEnabled" -> "max_seeding_time_enabled"
    "maxSeedingTime" -> "max_seeding_time"
    "announceIp" -> "announce_ip"
    "announceToAllTiers" -> "announce_to_all_tiers"
    "announceToAllTrackers" -> "announce_to_all_trackers"
    "asyncIoThreads" -> "async_io_threads"
    "bannedIps" -> "banned_IPs"
    "checkingMemoryUse" -> "checking_memory_use"
    "currentInterfaceAddress" -> "current_interface_address"
    "currentNetworkInterface" -> "current_network_interface"
    "diskCache" -> "disk_cache"
    "diskCacheTtl" -> "disk_cache_ttl"
    "embeddedTrackerPort" -> "embedded_tracker_port"
    "enableCoalesceReadWrite" -> "enable_coalesce_read_write"
    "enableEmbeddedTracker" -> "enable_embedded_tracker"
    "enableMultiConnectionsFromSameIp" -> "enable_multi_connections_from_same_ip"
    "enableOsCache" -> "enable_os_cache"
    "enableUploadSuggestions" -> "enable_upload_suggestions"
    "filePoolSize" -> "file_pool_size"
    "outgoingPortsMax" -> "outgoing_ports_max"
    "outgoingPortsMin" -> "outgoing_ports_min"
    "recheckCompletedTorrents" -> "recheck_completed_torrents"
    "resolvePeerCountries" -> "resolve_peer_countries"
    "saveResumeDataInterval" -> "save_resume_data_interval"
    "sendBufferLowWatermark" -> "send_buffer_low_watermark"
    "sendBufferWatermark" -> "send_buffer_watermark"
    "sendBufferWatermarkFactor" -> "send_buffer_watermark_factor"
    "socketBacklogSize" -> "socket_backlog_size"
    "uploadChokingAlgorithm" -> "upload_choking_algorithm"
    "uploadSlotsBehavior" -> "upload_slots_behavior"
    "upnpLeaseDuration" -> "upnp_lease_duration"
    "utpTcpMixedMode" -> "utp_tcp_mixed_mode"
    else -> fieldName
  }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy