package com.remax.notification.config

import com.google.gson.annotations.SerializedName

/**
 * 推送配置数据类
 */
data class PushConfig(
    @SerializedName("total_push_count")
    val totalPushCount: Int,
    @SerializedName("unlock_push_interval")
    val unlockPushInterval: Int,
    @SerializedName("background_push_interval")
    val backgroundPushInterval: Int,
    @SerializedName("hover_duration_strategy_switch")
    val hoverDurationStrategySwitch: Int,
    @SerializedName("hover_duration_loop_count")
    val hoverDurationLoopCount: Int,
    @SerializedName("new_user_cooldown")
    val newUserCooldown: Int,
    @SerializedName("do_not_disturb_start")
    val doNotDisturbStart: String,
    @SerializedName("do_not_disturb_end")
    val doNotDisturbEnd: String,
    @SerializedName("notification_enabled")
    val notificationEnabled: Int,
    @SerializedName("keepalive_polling_interval_minutes")
    val keepalivePollingIntervalMinutes: Int
)

/**
 * 完整配置数据类
 */
data class NotificationConfig(
    @SerializedName("paid_channel")
    val paidChannel: PushConfig,
    @SerializedName("organic_channel")
    val organicChannel: PushConfig
)
