@Keep 어노테이션을 추가하여 난독화에서 제외되도록 수정
This commit is contained in:
parent
4349f2bd3a
commit
7607c10bdc
|
@ -1,13 +1,16 @@
|
|||
package kr.co.vividnext.sodalive.audio_content
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import java.util.TimeZone
|
||||
|
||||
@Keep
|
||||
data class AddAllPlaybackTrackingRequest(
|
||||
@SerializedName("timezone") val timezone: String = TimeZone.getDefault().id,
|
||||
@SerializedName("trackingDataList") val trackingDataList: List<PlaybackTrackingData>
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class PlaybackTrackingData(
|
||||
@SerializedName("contentId") val contentId: Long,
|
||||
@SerializedName("playDateTime") val playDateTime: String,
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package kr.co.vividnext.sodalive.audio_content
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import io.objectbox.annotation.Entity
|
||||
import io.objectbox.annotation.Id
|
||||
import java.text.SimpleDateFormat
|
||||
|
@ -7,6 +8,7 @@ import java.util.Date
|
|||
import java.util.Locale
|
||||
|
||||
@Entity
|
||||
@Keep
|
||||
data class PlaybackTracking(
|
||||
@Id
|
||||
var id: Long = 0,
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
package kr.co.vividnext.sodalive.audio_content.all
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kr.co.vividnext.sodalive.audio_content.main.GetAudioContentMainItem
|
||||
|
||||
@Keep
|
||||
data class GetNewContentAllResponse(
|
||||
@SerializedName("totalCount") val totalCount: Int,
|
||||
@SerializedName("items") val items: List<GetAudioContentMainItem>
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
package kr.co.vividnext.sodalive.audio_content.all.by_theme
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kr.co.vividnext.sodalive.audio_content.main.GetAudioContentMainItem
|
||||
|
||||
@Keep
|
||||
data class GetContentByThemeResponse(
|
||||
@SerializedName("theme") val theme: String,
|
||||
@SerializedName("totalCount") val totalCount: Int,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.audio_content.category
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetCategoryListResponse(
|
||||
@SerializedName("categoryId") val categoryId: Long,
|
||||
@SerializedName("category") val category: String
|
||||
|
|
|
@ -1,15 +1,18 @@
|
|||
package kr.co.vividnext.sodalive.audio_content.comment
|
||||
|
||||
import android.os.Parcelable
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kotlinx.parcelize.Parcelize
|
||||
|
||||
@Keep
|
||||
data class GetAudioContentCommentListResponse(
|
||||
@SerializedName("totalCount") val totalCount: Int,
|
||||
@SerializedName("items") val items: List<GetAudioContentCommentListItem>
|
||||
)
|
||||
|
||||
@Parcelize
|
||||
@Keep
|
||||
data class GetAudioContentCommentListItem(
|
||||
@SerializedName("id") val id: Long,
|
||||
@SerializedName("writerId") val writerId: Long,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.audio_content.comment
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class ModifyCommentRequest(
|
||||
@SerializedName("commentId") val commentId: Long,
|
||||
@SerializedName("comment") var comment: String? = null,
|
||||
|
|
|
@ -2,6 +2,9 @@ package kr.co.vividnext.sodalive.audio_content.comment
|
|||
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
import androidx.annotation.Keep
|
||||
|
||||
@Keep
|
||||
data class RegisterAudioContentCommentRequest(
|
||||
@SerializedName("comment") val comment: String,
|
||||
@SerializedName("contentId") val contentId: Long,
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
package kr.co.vividnext.sodalive.audio_content.curation
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kr.co.vividnext.sodalive.audio_content.main.GetAudioContentMainItem
|
||||
|
||||
@Keep
|
||||
data class GetCurationContentResponse(
|
||||
@SerializedName("totalCount") val totalCount: Int,
|
||||
@SerializedName("items") val items: List<GetAudioContentMainItem>
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
package kr.co.vividnext.sodalive.audio_content.detail
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kr.co.vividnext.sodalive.audio_content.comment.GetAudioContentCommentListItem
|
||||
import kr.co.vividnext.sodalive.audio_content.order.OrderType
|
||||
|
||||
@Keep
|
||||
data class GetAudioContentDetailResponse(
|
||||
@SerializedName("contentId") val contentId: Long,
|
||||
@SerializedName("title") val title: String,
|
||||
|
@ -39,12 +41,14 @@ data class GetAudioContentDetailResponse(
|
|||
@SerializedName("creator") val creator: AudioContentCreator
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class OtherContentResponse(
|
||||
@SerializedName("contentId") val contentId: Long,
|
||||
@SerializedName("title") val title: String,
|
||||
@SerializedName("coverUrl") val coverUrl: String,
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class AudioContentCreator(
|
||||
@SerializedName("creatorId") val creatorId: Long,
|
||||
@SerializedName("nickname") val nickname: String,
|
||||
|
|
|
@ -1,11 +1,14 @@
|
|||
package kr.co.vividnext.sodalive.audio_content.detail
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class PutAudioContentLikeRequest(
|
||||
@SerializedName("contentId") val contentId: Long
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class PutAudioContentLikeResponse(
|
||||
@SerializedName("like") val like: Boolean
|
||||
)
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.audio_content.donation
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class AudioContentDonationRequest(
|
||||
@SerializedName("contentId") val contentId: Long,
|
||||
@SerializedName("donationCan") val donationCan: Int,
|
||||
|
|
|
@ -1,14 +1,17 @@
|
|||
package kr.co.vividnext.sodalive.audio_content.main
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kr.co.vividnext.sodalive.settings.event.EventItem
|
||||
|
||||
@Keep
|
||||
data class GetNewContentUploadCreator(
|
||||
@SerializedName("creatorId") val creatorId: Long,
|
||||
@SerializedName("creatorNickname") val creatorNickname: String,
|
||||
@SerializedName("creatorProfileImageUrl") val creatorProfileImageUrl: String
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class GetAudioContentMainItem(
|
||||
@SerializedName("contentId") val contentId: Long,
|
||||
@SerializedName("coverImageUrl") val coverImageUrl: String,
|
||||
|
@ -20,12 +23,14 @@ data class GetAudioContentMainItem(
|
|||
@SerializedName("duration") val duration: String
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class GetAudioContentRanking(
|
||||
@SerializedName("startDate") val startDate: String,
|
||||
@SerializedName("endDate") val endDate: String,
|
||||
@SerializedName("items") val items: List<GetAudioContentRankingItem>
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class GetAudioContentRankingItem(
|
||||
@SerializedName("contentId") val contentId: Long,
|
||||
@SerializedName("title") val title: String,
|
||||
|
@ -37,6 +42,7 @@ data class GetAudioContentRankingItem(
|
|||
@SerializedName("creatorNickname") val creatorNickname: String
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class GetAudioContentCurationResponse(
|
||||
@SerializedName("curationId") val curationId: Long,
|
||||
@SerializedName("title") val title: String,
|
||||
|
@ -44,6 +50,7 @@ data class GetAudioContentCurationResponse(
|
|||
@SerializedName("contents") val audioContents: List<GetAudioContentMainItem>
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class GetAudioContentBannerResponse(
|
||||
@SerializedName("type") val type: AudioContentBannerType,
|
||||
@SerializedName("thumbnailImageUrl") val thumbnailImageUrl: String,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.audio_content.modify
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class ModifyAudioContentRequest(
|
||||
@SerializedName("contentId") val contentId: Long,
|
||||
@SerializedName("title") val title: String?,
|
||||
|
|
|
@ -1,12 +1,15 @@
|
|||
package kr.co.vividnext.sodalive.audio_content.order
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetAudioContentOrderListResponse(
|
||||
@SerializedName("totalCount") val totalCount: Int,
|
||||
@SerializedName("items") val items: List<GetAudioContentOrderListItem>
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class GetAudioContentOrderListItem(
|
||||
@SerializedName("contentId") val contentId: Long,
|
||||
@SerializedName("coverImageUrl") val coverImageUrl: String,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.audio_content.order
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class OrderRequest(
|
||||
@SerializedName("contentId") val contentId: Long,
|
||||
@SerializedName("orderType") val orderType: OrderType,
|
||||
|
|
|
@ -1,11 +1,14 @@
|
|||
package kr.co.vividnext.sodalive.audio_content.series
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetSeriesListResponse(
|
||||
@SerializedName("totalCount") val totalCount: Int,
|
||||
@SerializedName("items") val items: List<SeriesListItem>
|
||||
) {
|
||||
@Keep
|
||||
data class SeriesListItem(
|
||||
@SerializedName("seriesId") val seriesId: Long,
|
||||
@SerializedName("title") val title: String,
|
||||
|
@ -18,6 +21,7 @@ data class GetSeriesListResponse(
|
|||
@SerializedName("isPopular") val isPopular: Boolean
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class SeriesListItemCreator(
|
||||
@SerializedName("creatorId") val creatorId: Long,
|
||||
@SerializedName("nickname") val nickname: String,
|
||||
|
|
|
@ -1,15 +1,18 @@
|
|||
package kr.co.vividnext.sodalive.audio_content.series.detail
|
||||
|
||||
import android.os.Parcelable
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kotlinx.parcelize.Parcelize
|
||||
|
||||
@Keep
|
||||
data class GetSeriesContentListResponse(
|
||||
@SerializedName("totalCount") val totalCount: Int,
|
||||
@SerializedName("items") val items: List<GetSeriesContentListItem>
|
||||
)
|
||||
|
||||
@Parcelize
|
||||
@Keep
|
||||
data class GetSeriesContentListItem(
|
||||
@SerializedName("contentId") val contentId: Long,
|
||||
@SerializedName("title") val title: String,
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
package kr.co.vividnext.sodalive.audio_content.series.detail
|
||||
|
||||
import android.os.Parcelable
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kotlinx.parcelize.Parcelize
|
||||
|
||||
@Parcelize
|
||||
@Keep
|
||||
data class GetSeriesDetailResponse(
|
||||
@SerializedName("seriesId") val seriesId: Long,
|
||||
@SerializedName("title") val title: String,
|
||||
|
@ -27,6 +29,7 @@ data class GetSeriesDetailResponse(
|
|||
@SerializedName("contentCount") val contentCount: Int
|
||||
) : Parcelable {
|
||||
@Parcelize
|
||||
@Keep
|
||||
data class GetSeriesDetailCreator(
|
||||
@SerializedName("creatorId") val creatorId: Long,
|
||||
@SerializedName("nickname") val nickname: String,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.audio_content.upload
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class CreateAudioContentRequest(
|
||||
@SerializedName("title") val title: String,
|
||||
@SerializedName("detail") val detail: String,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.audio_content.upload.theme
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetAudioContentThemeResponse(
|
||||
@SerializedName("id") val id: Long,
|
||||
@SerializedName("theme") val theme: String,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.common
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class ApiResponse<T>(
|
||||
@SerializedName("success") val success: Boolean,
|
||||
@SerializedName("data") val data: T? = null,
|
||||
|
|
|
@ -1,11 +1,14 @@
|
|||
package kr.co.vividnext.sodalive.explorer
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetExplorerResponse(
|
||||
@SerializedName("sections") val sections: List<GetExplorerSectionResponse>
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class GetExplorerSectionResponse(
|
||||
@SerializedName("title") val title: String,
|
||||
@SerializedName("coloredTitle") val coloredTitle: String?,
|
||||
|
@ -14,6 +17,7 @@ data class GetExplorerSectionResponse(
|
|||
@SerializedName("creators") val creators: List<GetExplorerSectionCreatorResponse>
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class GetExplorerSectionCreatorResponse(
|
||||
@SerializedName("id") val id: Long,
|
||||
@SerializedName("nickname") val nickname: String,
|
||||
|
|
|
@ -1,12 +1,15 @@
|
|||
package kr.co.vividnext.sodalive.explorer.profile
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetCheersResponse(
|
||||
@SerializedName("totalCount") val totalCount: Int,
|
||||
@SerializedName("cheers") val cheers: List<GetCheersResponseItem>
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class GetCheersResponseItem(
|
||||
@SerializedName("cheersId") val cheersId: Long,
|
||||
@SerializedName("memberId") val memberId: Long,
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
package kr.co.vividnext.sodalive.explorer.profile
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kr.co.vividnext.sodalive.audio_content.series.GetSeriesListResponse
|
||||
import kr.co.vividnext.sodalive.explorer.profile.creator_community.GetCommunityPostListResponse
|
||||
|
||||
@Keep
|
||||
data class GetCreatorProfileResponse(
|
||||
@SerializedName("creator")
|
||||
val creator: CreatorResponse,
|
||||
|
@ -27,6 +29,7 @@ data class GetCreatorProfileResponse(
|
|||
val isBlock: Boolean
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class CreatorResponse(
|
||||
@SerializedName("creatorId") val creatorId: Long,
|
||||
@SerializedName("profileUrl") val profileUrl: String,
|
||||
|
@ -42,6 +45,7 @@ data class CreatorResponse(
|
|||
@SerializedName("notificationRecipientCount") val notificationRecipientCount: Int
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class UserDonationRankingResponse(
|
||||
@SerializedName("userId") val userId: Long,
|
||||
@SerializedName("nickname") val nickname: String,
|
||||
|
@ -49,6 +53,7 @@ data class UserDonationRankingResponse(
|
|||
@SerializedName("donationCan") val donationCan: Int
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class LiveRoomResponse(
|
||||
@SerializedName("roomId") val roomId: Long,
|
||||
@SerializedName("title") val title: String,
|
||||
|
@ -65,11 +70,13 @@ data class LiveRoomResponse(
|
|||
@SerializedName("isPrivateRoom") val isPrivateRoom: Boolean
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class GetAudioContentListResponse(
|
||||
@SerializedName("totalCount") val totalCount: Int,
|
||||
@SerializedName("items") val items: List<GetAudioContentListItem>
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class GetAudioContentListItem(
|
||||
@SerializedName("contentId") val contentId: Long,
|
||||
@SerializedName("coverImageUrl") val coverImageUrl: String,
|
||||
|
@ -87,6 +94,7 @@ data class GetAudioContentListItem(
|
|||
@SerializedName("isSoldOut") val isSoldOut: Boolean
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class GetCreatorActivitySummary(
|
||||
@SerializedName("liveCount") val liveCount: Int,
|
||||
@SerializedName("liveTime") val liveTime: Int,
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
package kr.co.vividnext.sodalive.explorer.profile
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class MemberBlockRequest(@SerializedName("blockMemberId") val blockMemberId: Long)
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.explorer.profile
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class PostCreatorNoticeRequest(
|
||||
@SerializedName("notice")
|
||||
val notice: String
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.explorer.profile.cheers
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class PostWriteCheersRequest(
|
||||
@SerializedName("parentId") val parentId: Long? = null,
|
||||
@SerializedName("creatorId") val creatorId: Long,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.explorer.profile.cheers
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class PutModifyCheersRequest(
|
||||
@SerializedName("cheersId") val cheersId: Long,
|
||||
@SerializedName("content") var content: String? = null,
|
||||
|
|
|
@ -1,15 +1,18 @@
|
|||
package kr.co.vividnext.sodalive.explorer.profile.creator_community
|
||||
|
||||
import android.os.Parcelable
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kotlinx.parcelize.Parcelize
|
||||
|
||||
@Keep
|
||||
data class GetCommunityPostCommentListResponse(
|
||||
@SerializedName("totalCount") val totalCount: Int,
|
||||
@SerializedName("items") val items: List<GetCommunityPostCommentListItem>
|
||||
)
|
||||
|
||||
@Parcelize
|
||||
@Keep
|
||||
data class GetCommunityPostCommentListItem(
|
||||
@SerializedName("id") val id: Long,
|
||||
@SerializedName("writerId") val writerId: Long,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.explorer.profile.creator_community
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetCommunityPostListResponse(
|
||||
@SerializedName("postId") val postId: Long,
|
||||
@SerializedName("creatorId") val creatorId: Long,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.explorer.profile.creator_community.all
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class PostCommunityPostLikeRequest(
|
||||
@SerializedName("postId") val postId: Long
|
||||
)
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.explorer.profile.creator_community.all
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class PurchasePostRequest(
|
||||
@SerializedName("postId") val postId: Long,
|
||||
@SerializedName("timezone") val timezone: String,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.explorer.profile.creator_community.all.comment
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class CreateCommunityPostCommentRequest(
|
||||
@SerializedName("comment") val comment: String,
|
||||
@SerializedName("postId") val postId: Long,
|
||||
|
|
|
@ -6,10 +6,12 @@ import android.media.AudioAttributes
|
|||
import android.media.MediaPlayer
|
||||
import android.net.Uri
|
||||
import android.widget.Toast
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kr.co.vividnext.sodalive.audio_content.AudioContentPlayService
|
||||
import java.io.IOException
|
||||
|
||||
@Keep
|
||||
data class CreatorCommunityContentItem(
|
||||
@SerializedName("contentId") val contentId: Long,
|
||||
@SerializedName("url") val url: String
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.explorer.profile.creator_community.modify
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class ModifyCommunityPostRequest(
|
||||
@SerializedName("creatorCommunityId") val creatorCommunityId: Long,
|
||||
@SerializedName("content") val content: String? = null,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.explorer.profile.creator_community.write
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class CreateCommunityPostRequest(
|
||||
@SerializedName("content") val content: String,
|
||||
@SerializedName("price") val price: Int,
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
package kr.co.vividnext.sodalive.explorer.profile.donation
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kr.co.vividnext.sodalive.explorer.profile.UserDonationRankingResponse
|
||||
|
||||
@Keep
|
||||
data class GetDonationAllResponse(
|
||||
@SerializedName("accumulatedCansToday")
|
||||
val accumulatedCansToday: Int,
|
||||
|
|
|
@ -1,12 +1,15 @@
|
|||
package kr.co.vividnext.sodalive.explorer.profile.follow
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetFollowerListResponse(
|
||||
@SerializedName("totalCount") val totalCount: Int,
|
||||
@SerializedName("items") val items: List<GetFollowerListResponseItem>
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class GetFollowerListResponseItem(
|
||||
@SerializedName("userId") val userId: Long,
|
||||
@SerializedName("profileImage") val profileImage: String,
|
||||
|
|
|
@ -1,12 +1,15 @@
|
|||
package kr.co.vividnext.sodalive.following
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetCreatorFollowingAllListResponse(
|
||||
@SerializedName("totalCount") val totalCount: Int,
|
||||
@SerializedName("items") val items: List<GetCreatorFollowingAllListItem>
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class GetCreatorFollowingAllListItem(
|
||||
@SerializedName("creatorId") val creatorId: Long,
|
||||
@SerializedName("nickname") val nickname: String,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetRoomListResponse(
|
||||
@SerializedName("roomId") val roomId: Long,
|
||||
@SerializedName("title") val title: String,
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
package kr.co.vividnext.sodalive.live
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kr.co.vividnext.sodalive.common.ApiResponse
|
||||
import kr.co.vividnext.sodalive.live.recommend.GetRecommendLiveResponse
|
||||
import kr.co.vividnext.sodalive.settings.event.GetEventResponse
|
||||
|
||||
@Keep
|
||||
data class LiveSummary(
|
||||
@SerializedName("liveNow") val liveNow: ApiResponse<List<GetRoomListResponse>>,
|
||||
@SerializedName("liveReservation") val liveReservation: ApiResponse<List<GetRoomListResponse>>,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live.recommend
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetRecommendLiveResponse(
|
||||
@SerializedName("imageUrl")
|
||||
val imageUrl: String,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live.recommend_channel
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetRecommendChannelResponse(
|
||||
@SerializedName("creatorId")
|
||||
val creatorId: Long,
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
package kr.co.vividnext.sodalive.live.reservation
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import java.util.TimeZone
|
||||
|
||||
@Keep
|
||||
data class MakeLiveReservationRequest(
|
||||
@SerializedName("roomId") val roomId: Long,
|
||||
@SerializedName("container") val container: String = "aos",
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
package kr.co.vividnext.sodalive.live.reservation
|
||||
|
||||
import android.os.Parcelable
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kotlinx.parcelize.Parcelize
|
||||
|
||||
@Parcelize
|
||||
@Keep
|
||||
data class MakeLiveReservationResponse(
|
||||
@SerializedName("reservationId") val reservationId: Long,
|
||||
@SerializedName("nickname") val nickname: String,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live.reservation_status
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class CancelLiveReservationRequest(
|
||||
@SerializedName("reservationId")
|
||||
val reservationId: Long,
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
package kr.co.vividnext.sodalive.live.reservation_status
|
||||
|
||||
import android.os.Parcelable
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kotlinx.parcelize.Parcelize
|
||||
|
||||
@Parcelize
|
||||
@Keep
|
||||
data class GetLiveReservationResponse(
|
||||
@SerializedName("reservationId") val reservationId: Long,
|
||||
@SerializedName("roomId") val roomId: Long,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live.room
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class CancelLiveRequest(
|
||||
@SerializedName("roomId") val roomId: Long,
|
||||
@SerializedName("reason") val reason: String
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live.room
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class EnterOrQuitLiveRoomRequest(
|
||||
@SerializedName("roomId") val roomId: Long,
|
||||
@SerializedName("container") val container: String = "aos",
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live.room
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class SetManagerOrSpeakerOrAudienceRequest(
|
||||
@SerializedName("roomId") val roomId: Long,
|
||||
@SerializedName("memberId") val memberId: Long
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
package kr.co.vividnext.sodalive.live.room
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import java.util.TimeZone
|
||||
|
||||
@Keep
|
||||
data class StartLiveRequest(
|
||||
@SerializedName("roomId") val roomId: Long,
|
||||
@SerializedName("timezone") val timezone: String = TimeZone.getDefault().id,
|
||||
|
|
|
@ -9,6 +9,7 @@ import android.text.TextUtils
|
|||
import android.text.style.ForegroundColorSpan
|
||||
import android.text.style.StyleSpan
|
||||
import android.view.View
|
||||
import androidx.annotation.Keep
|
||||
import androidx.core.content.ContextCompat
|
||||
import androidx.core.content.res.ResourcesCompat
|
||||
import androidx.core.view.setPadding
|
||||
|
@ -46,6 +47,7 @@ abstract class LiveRoomChat {
|
|||
)
|
||||
}
|
||||
|
||||
@Keep
|
||||
data class LiveRoomJoinChat(
|
||||
val nickname: String
|
||||
) : LiveRoomChat() {
|
||||
|
@ -77,6 +79,7 @@ data class LiveRoomJoinChat(
|
|||
}
|
||||
}
|
||||
|
||||
@Keep
|
||||
data class LiveRoomDonationStatusChat(
|
||||
val response: GetLiveRoomDonationStatusResponse? = null,
|
||||
val donationStatusString: String? = null
|
||||
|
@ -146,6 +149,7 @@ data class LiveRoomDonationStatusChat(
|
|||
}
|
||||
}
|
||||
|
||||
@Keep
|
||||
data class LiveRoomNormalChat(
|
||||
@SerializedName("userId") val userId: Long,
|
||||
@SerializedName("profileUrl") val profileUrl: String,
|
||||
|
@ -238,6 +242,7 @@ data class LiveRoomNormalChat(
|
|||
}
|
||||
}
|
||||
|
||||
@Keep
|
||||
data class LiveRoomDonationChat(
|
||||
@SerializedName("profileUrl") val profileUrl: String,
|
||||
@SerializedName("nickname") val nickname: String,
|
||||
|
@ -334,6 +339,7 @@ data class LiveRoomDonationChat(
|
|||
}
|
||||
}
|
||||
|
||||
@Keep
|
||||
data class LiveRoomRouletteDonationChat(
|
||||
@SerializedName("profileUrl") val profileUrl: String,
|
||||
@SerializedName("nickname") val nickname: String,
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
package kr.co.vividnext.sodalive.live.room.chat
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kr.co.vividnext.sodalive.live.room.donation.LiveRoomDonationResponse
|
||||
|
||||
@Keep
|
||||
data class LiveRoomChatRawMessage(
|
||||
@SerializedName("type") val type: LiveRoomChatRawMessageType,
|
||||
@SerializedName("message") val message: String,
|
||||
|
@ -16,14 +18,19 @@ data class LiveRoomChatRawMessage(
|
|||
enum class LiveRoomChatRawMessageType {
|
||||
@SerializedName("DONATION")
|
||||
DONATION,
|
||||
|
||||
@SerializedName("SET_MANAGER")
|
||||
SET_MANAGER,
|
||||
|
||||
@SerializedName("EDIT_ROOM_INFO")
|
||||
EDIT_ROOM_INFO,
|
||||
|
||||
@SerializedName("DONATION_STATUS")
|
||||
DONATION_STATUS,
|
||||
|
||||
@SerializedName("TOGGLE_ROULETTE")
|
||||
TOGGLE_ROULETTE,
|
||||
|
||||
@SerializedName("ROULETTE_DONATION")
|
||||
ROULETTE_DONATION
|
||||
}
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
package kr.co.vividnext.sodalive.live.room.create
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kr.co.vividnext.sodalive.live.room.LiveRoomType
|
||||
|
||||
@Keep
|
||||
data class CreateLiveRoomRequest(
|
||||
@SerializedName("title") val title: String,
|
||||
@SerializedName("price") val price: Int = 0,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live.room.create
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class CreateLiveRoomResponse(
|
||||
@SerializedName("id") val id: Long?,
|
||||
@SerializedName("channelName") val channelName: String?
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live.room.create
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetRecentRoomInfoResponse(
|
||||
@SerializedName("title") val title: String,
|
||||
@SerializedName("notice") val notice: String,
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
package kr.co.vividnext.sodalive.live.room.detail
|
||||
|
||||
import android.os.Parcelable
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kotlinx.parcelize.Parcelize
|
||||
|
||||
@Parcelize
|
||||
@Keep
|
||||
data class GetRoomDetailResponse(
|
||||
@SerializedName("roomId") val roomId: Long,
|
||||
@SerializedName("price") val price: Int,
|
||||
|
@ -22,9 +24,10 @@ data class GetRoomDetailResponse(
|
|||
@SerializedName("numberOfParticipantsTotal") val numberOfParticipantsTotal: Int,
|
||||
@SerializedName("manager") val manager: GetRoomDetailManager,
|
||||
@SerializedName("participatingUsers") val participatingUsers: List<GetRoomDetailUser>
|
||||
): Parcelable
|
||||
) : Parcelable
|
||||
|
||||
@Parcelize
|
||||
@Keep
|
||||
data class GetRoomDetailManager(
|
||||
@SerializedName("id") val id: Long,
|
||||
@SerializedName("nickname") val nickname: String,
|
||||
|
@ -38,6 +41,7 @@ data class GetRoomDetailManager(
|
|||
) : Parcelable
|
||||
|
||||
@Parcelize
|
||||
@Keep
|
||||
data class GetRoomDetailUser(
|
||||
@SerializedName("id") val id: Long,
|
||||
@SerializedName("nickname") val nickname: String,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live.room.donation
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class DeleteLiveRoomDonationMessage(
|
||||
@SerializedName("roomId") val roomId: Long,
|
||||
@SerializedName("messageUUID") val messageUUID: String
|
||||
|
|
|
@ -1,13 +1,16 @@
|
|||
package kr.co.vividnext.sodalive.live.room.donation
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetLiveRoomDonationStatusResponse(
|
||||
@SerializedName("donationList") val donationList: List<GetLiveRoomDonationItem>,
|
||||
@SerializedName("totalCount") val totalCount: Int,
|
||||
@SerializedName("totalCan") val totalCan: Int
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class GetLiveRoomDonationItem(
|
||||
@SerializedName("profileImage") val profileImage: String,
|
||||
@SerializedName("nickname") val nickname: String,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live.room.donation
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetLiveRoomDonationTotalResponse(
|
||||
@SerializedName("totalDonationCan") val totalDonationCan: Int
|
||||
)
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live.room.donation
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class LiveRoomDonationMessage(
|
||||
@SerializedName("uuid") val uuid: String,
|
||||
@SerializedName("nickname") val nickname: String,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live.room.donation
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class LiveRoomDonationRequest(
|
||||
@SerializedName("roomId") val roomId: Long,
|
||||
@SerializedName("can") val can: Int,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live.room.donation
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class LiveRoomDonationResponse(
|
||||
@SerializedName("imageUrl") val imageUrl: String,
|
||||
@SerializedName("time") val time: Int
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live.room.info
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetRoomInfoResponse(
|
||||
@SerializedName("roomId") val roomId: Long,
|
||||
@SerializedName("title") val title: String,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live.room.info
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class LiveRoomMember(
|
||||
@SerializedName("id") val id: Long,
|
||||
@SerializedName("nickname") val nickname: String,
|
||||
|
@ -12,8 +14,10 @@ data class LiveRoomMember(
|
|||
enum class LiveRoomMemberRole {
|
||||
@SerializedName("LISTENER")
|
||||
LISTENER,
|
||||
|
||||
@SerializedName("SPEAKER")
|
||||
SPEAKER,
|
||||
|
||||
@SerializedName("MANAGER")
|
||||
MANAGER
|
||||
}
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live.room.kick_out
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class LiveRoomKickOutRequest(
|
||||
@SerializedName("roomId") val roomId: Long,
|
||||
@SerializedName("userId") val userId: Long
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live.room.menu
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetMenuPresetResponse(
|
||||
@SerializedName("id") val id: Long,
|
||||
@SerializedName("menu") val menu: String,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live.room.profile
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetLiveRoomUserProfileResponse(
|
||||
@SerializedName("userId") val userId: Long,
|
||||
@SerializedName("nickname") val nickname: String,
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
package kr.co.vividnext.sodalive.live.room.profile
|
||||
|
||||
import android.view.View
|
||||
import androidx.annotation.Keep
|
||||
import androidx.recyclerview.widget.RecyclerView
|
||||
import androidx.viewbinding.ViewBinding
|
||||
import coil.load
|
||||
|
@ -48,6 +49,7 @@ abstract class LiveRoomProfileItem {
|
|||
abstract fun bind(binding: ViewBinding)
|
||||
}
|
||||
|
||||
@Keep
|
||||
data class LiveRoomProfileItemSpeakerTitle(
|
||||
val title: String,
|
||||
val speakerCount: Int,
|
||||
|
@ -73,6 +75,7 @@ data class LiveRoomProfileItemSpeakerTitle(
|
|||
}
|
||||
}
|
||||
|
||||
@Keep
|
||||
data class LiveRoomProfileItemListenerTitle(
|
||||
val title: String
|
||||
) : LiveRoomProfileItem() {
|
||||
|
@ -90,6 +93,7 @@ data class LiveRoomProfileItemListenerTitle(
|
|||
}
|
||||
}
|
||||
|
||||
@Keep
|
||||
data class LiveRoomProfileItemManagerTitle(
|
||||
val title: String,
|
||||
val managerCount: Int
|
||||
|
@ -109,6 +113,7 @@ data class LiveRoomProfileItemManagerTitle(
|
|||
}
|
||||
}
|
||||
|
||||
@Keep
|
||||
data class LiveRoomProfileItemMaster(
|
||||
val nickname: String,
|
||||
val profileUrl: String
|
||||
|
@ -128,6 +133,7 @@ data class LiveRoomProfileItemMaster(
|
|||
}
|
||||
}
|
||||
|
||||
@Keep
|
||||
data class LiveRoomProfileItemManager(
|
||||
val nickname: String,
|
||||
val profileUrl: String
|
||||
|
@ -149,6 +155,7 @@ data class LiveRoomProfileItemManager(
|
|||
}
|
||||
}
|
||||
|
||||
@Keep
|
||||
data class LiveRoomProfileItemUser(
|
||||
val nickname: String,
|
||||
val profileUrl: String,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live.room.tag
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetLiveTagResponse(
|
||||
@SerializedName("id") val id: Long,
|
||||
@SerializedName("tag") val tag: String,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live.room.update
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class EditLiveRoomInfoRequest(
|
||||
@SerializedName("title") val title: String?,
|
||||
@SerializedName("notice") val notice: String?,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live.roulette
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetNewRouletteResponse(
|
||||
@SerializedName("id") val id: Long,
|
||||
@SerializedName("can") val can: Int,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live.roulette
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetRouletteResponse(
|
||||
@SerializedName("id") val id: Long,
|
||||
@SerializedName("can") val can: Int,
|
||||
|
@ -9,6 +11,7 @@ data class GetRouletteResponse(
|
|||
@SerializedName("items") val items: List<RouletteItem>
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class RouletteItem(
|
||||
@SerializedName("title") val title: String,
|
||||
@SerializedName("percentage") val percentage: Float
|
||||
|
|
|
@ -2,12 +2,16 @@ package kr.co.vividnext.sodalive.live.roulette
|
|||
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
import androidx.annotation.Keep
|
||||
|
||||
@Keep
|
||||
data class RoulettePreview(
|
||||
@SerializedName("id") val id: Long,
|
||||
@SerializedName("can") val can: Int,
|
||||
@SerializedName("items") val items: List<RoulettePreviewItem>
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class RoulettePreviewItem(
|
||||
@SerializedName("title") val title: String,
|
||||
@SerializedName("percent") val percent: String
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live.roulette
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class SpinRouletteRequest(
|
||||
@SerializedName("roomId") val roomId: Long,
|
||||
@SerializedName("rouletteId") val rouletteId: Long,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.live.roulette
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class SpinRouletteResponse(
|
||||
@SerializedName("can") val can: Int,
|
||||
@SerializedName("result") val result: String,
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
package kr.co.vividnext.sodalive.live.roulette.config
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kr.co.vividnext.sodalive.live.roulette.RouletteItem
|
||||
|
||||
@Keep
|
||||
data class CreateRouletteRequest(
|
||||
@SerializedName("can") val can: Int,
|
||||
@SerializedName("isActive") val isActive: Boolean,
|
||||
|
|
|
@ -1,3 +1,6 @@
|
|||
package kr.co.vividnext.sodalive.live.roulette.config
|
||||
|
||||
import androidx.annotation.Keep
|
||||
|
||||
@Keep
|
||||
data class RouletteOption(var title: String, var percentage: String = "")
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
package kr.co.vividnext.sodalive.live.roulette.config
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kr.co.vividnext.sodalive.live.roulette.RouletteItem
|
||||
|
||||
@Keep
|
||||
data class UpdateRouletteRequest(
|
||||
@SerializedName("id") val id: Long,
|
||||
@SerializedName("can") val can: Int,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.main
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GaidUpdateRequest(
|
||||
@SerializedName("adid") val adid: String
|
||||
)
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.main
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class PushTokenUpdateRequest(
|
||||
@SerializedName("pushToken") val pushToken: String,
|
||||
@SerializedName("container") val container: String = "aos"
|
||||
|
|
|
@ -1,13 +1,16 @@
|
|||
package kr.co.vividnext.sodalive.message
|
||||
|
||||
import android.os.Parcelable
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kotlinx.parcelize.Parcelize
|
||||
|
||||
@Keep
|
||||
data class GetVoiceMessageResponse(
|
||||
@SerializedName("totalCount") val totalCount: Int,
|
||||
@SerializedName("items") val items: List<VoiceMessageItem>
|
||||
) {
|
||||
@Keep
|
||||
data class VoiceMessageItem(
|
||||
@SerializedName("messageId") val messageId: Long,
|
||||
@SerializedName("senderId") val senderId: Long,
|
||||
|
@ -21,11 +24,13 @@ data class GetVoiceMessageResponse(
|
|||
)
|
||||
}
|
||||
|
||||
@Keep
|
||||
data class GetTextMessageResponse(
|
||||
@SerializedName("totalCount") val totalCount: Int,
|
||||
@SerializedName("items") val items: List<TextMessageItem>
|
||||
) {
|
||||
@Parcelize
|
||||
@Keep
|
||||
data class TextMessageItem(
|
||||
@SerializedName("messageId") val messageId: Long,
|
||||
@SerializedName("senderId") val senderId: Long,
|
||||
|
|
|
@ -1,12 +1,15 @@
|
|||
package kr.co.vividnext.sodalive.message
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class SendVoiceMessageRequest(
|
||||
@SerializedName("recipientId") val recipientId: Long,
|
||||
@SerializedName("container") val container: String = "aos"
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class SendTextMessageRequest(
|
||||
@SerializedName("recipientId") val recipientId: Long,
|
||||
@SerializedName("textMessage") val textMessage: String,
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
package kr.co.vividnext.sodalive.mypage
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kr.co.vividnext.sodalive.audio_content.order.GetAudioContentOrderListResponse
|
||||
|
||||
@Keep
|
||||
data class MyPageResponse(
|
||||
@SerializedName("nickname") val nickname: String,
|
||||
@SerializedName("profileUrl") val profileUrl: String,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.mypage.alarm
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetSlotQuantityAndPriceResponse(
|
||||
@SerializedName("slotQuantity") val slotQuantity: Int,
|
||||
@SerializedName("price") val price: Int
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.mypage.auth
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class AuthVerifyRequest(
|
||||
@SerializedName("receipt_id")
|
||||
val receiptId: String
|
||||
|
|
|
@ -1,13 +1,16 @@
|
|||
package kr.co.vividnext.sodalive.mypage.auth
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class BootpayResponse(
|
||||
@SerializedName("event")
|
||||
val event: String,
|
||||
@SerializedName("data")
|
||||
val data: BootpayResponseData
|
||||
) {
|
||||
@Keep
|
||||
data class BootpayResponseData(
|
||||
@SerializedName("receipt_id")
|
||||
val receiptId: String,
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
package kr.co.vividnext.sodalive.mypage.can.charge.iap
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kr.co.vividnext.sodalive.mypage.can.payment.PaymentGateway
|
||||
|
||||
@Keep
|
||||
data class GoogleChargeRequest(
|
||||
@SerializedName("title") val title: String,
|
||||
@SerializedName("chargeCan") val chargeCan: Int,
|
||||
|
|
|
@ -1,10 +1,12 @@
|
|||
package kr.co.vividnext.sodalive.mypage.can.charge.pg
|
||||
|
||||
import android.os.Parcelable
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kotlinx.parcelize.Parcelize
|
||||
|
||||
@Parcelize
|
||||
@Keep
|
||||
data class CanResponse(
|
||||
@SerializedName("id")
|
||||
val id: Long,
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
package kr.co.vividnext.sodalive.mypage.can.charge.pg
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kr.co.vividnext.sodalive.mypage.can.payment.PaymentGateway
|
||||
|
||||
@Keep
|
||||
data class ChargeRequest(
|
||||
@SerializedName("canId")
|
||||
val canId: Long,
|
||||
|
@ -10,11 +12,13 @@ data class ChargeRequest(
|
|||
val paymentGateway: PaymentGateway
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class ChargeResponse(
|
||||
@SerializedName("chargeId")
|
||||
val chargeId: Long
|
||||
)
|
||||
|
||||
@Keep
|
||||
data class VerifyRequest(
|
||||
@SerializedName("receipt_id")
|
||||
val receiptId: String,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.mypage.can.coupon
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class UseCanCouponRequest(
|
||||
@SerializedName("couponNumber") val couponNumber: String
|
||||
)
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
package kr.co.vividnext.sodalive.mypage.can.payment
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import io.reactivex.rxjava3.core.Single
|
||||
import kr.co.vividnext.sodalive.common.ApiResponse
|
||||
|
@ -23,6 +24,7 @@ interface CanTempApi {
|
|||
): Single<ApiResponse<Any>>
|
||||
}
|
||||
|
||||
@Keep
|
||||
data class ChargeTempRequest(
|
||||
@SerializedName("can") val can: Int,
|
||||
@SerializedName("price") val price: Int,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.mypage.can.status
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetCanStatusResponse(
|
||||
@SerializedName("chargeCan")
|
||||
val chargeCan: Int,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.mypage.can.status.charge
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetCanChargeStatusResponseItem(
|
||||
@SerializedName("canTitle")
|
||||
val canTitle: String,
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.mypage.can.status.use
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetCanUseStatusResponseItem(
|
||||
@SerializedName("title")
|
||||
val title: String,
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
package kr.co.vividnext.sodalive.mypage.profile
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kr.co.vividnext.sodalive.user.Gender
|
||||
|
||||
@Keep
|
||||
data class ProfileResponse(
|
||||
@SerializedName("userId") val userId: Long,
|
||||
@SerializedName("email") val email: String,
|
||||
|
|
|
@ -1,8 +1,10 @@
|
|||
package kr.co.vividnext.sodalive.mypage.profile
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
import kr.co.vividnext.sodalive.user.Gender
|
||||
|
||||
@Keep
|
||||
data class ProfileUpdateRequest(
|
||||
@SerializedName("email") val email: String,
|
||||
@SerializedName("password") val password: String? = null,
|
||||
|
|
|
@ -1,5 +1,7 @@
|
|||
package kr.co.vividnext.sodalive.mypage.profile.nickname
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class GetChangeNicknamePriceResponse(@SerializedName("price") val price: Int)
|
||||
|
|
|
@ -1,7 +1,9 @@
|
|||
package kr.co.vividnext.sodalive.mypage.profile.tag
|
||||
|
||||
import androidx.annotation.Keep
|
||||
import com.google.gson.annotations.SerializedName
|
||||
|
||||
@Keep
|
||||
data class MemberTagResponse(
|
||||
@SerializedName("id") val id: Long,
|
||||
@SerializedName("tag") val tag: String,
|
||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue