mirror of
https://github.com/nextcloud/talk-android
synced 2025-06-24 22:19:59 +01:00
28 lines
942 B
Kotlin
28 lines
942 B
Kotlin
/*
|
|
* Nextcloud Talk - Android Client
|
|
*
|
|
* SPDX-FileCopyrightText: 2022 Andy Scherzinger <info@andy-scherzinger.de>
|
|
* SPDX-FileCopyrightText: 2017-2018 Mario Danic <mario@lovelyhq.com>
|
|
* SPDX-License-Identifier: GPL-3.0-or-later
|
|
*/
|
|
package com.nextcloud.talk.models
|
|
|
|
import android.net.Uri
|
|
import android.os.Parcelable
|
|
import com.bluelinelabs.logansquare.annotation.JsonField
|
|
import com.bluelinelabs.logansquare.annotation.JsonObject
|
|
import com.nextcloud.talk.models.json.converters.UriTypeConverter
|
|
import kotlinx.parcelize.Parcelize
|
|
|
|
@Parcelize
|
|
@JsonObject
|
|
data class RingtoneSettings(
|
|
@JsonField(name = ["ringtoneUri"], typeConverter = UriTypeConverter::class)
|
|
var ringtoneUri: Uri? = null,
|
|
@JsonField(name = ["ringtoneName"])
|
|
var ringtoneName: String? = null
|
|
) : Parcelable {
|
|
// This constructor is added to work with the 'com.bluelinelabs.logansquare.annotation.JsonObject'
|
|
constructor() : this(null, null)
|
|
}
|