Files
sodalive-ios/SodaLive/Sources/Settings/Notification/GetMemberInfoResponse.swift
Yu Sung ec8b866c3e fix: 앱 실행시 처음 실행하는 유저 정보 조회
- point를 가져와서 UserDefaults에 저장
2025-05-20 18:02:51 +09:00

27 lines
546 B
Swift

//
// GetMemberInfoResponse.swift
// SodaLive
//
// Created by klaus on 2023/08/10.
//
import Foundation
enum MemberRole: String, Decodable {
case USER, CREATOR, AGENT, ADMIN, BOT
}
struct GetMemberInfoResponse: Decodable {
let can: Int
let point: Int
let isAuth: Bool
let gender: String?
let signupDate: String
let chargeCount: Int
let role: MemberRole
let messageNotice: Bool?
let followingChannelLiveNotice: Bool?
let followingChannelUploadContentNotice: Bool?
let auditionNotice: Bool?
}