Files
sodalive-ios/SodaLive/Sources/Live/Room/Detail/GetRoomDetailResponse.swift
Yu Sung 2f8331f2ff 라이브 시작시간 UTC 적용
라이브 상세와 수정 화면에서 UTC 기준 시간을 표시한다.
날짜 표기는 OS 언어 설정의 기본 포맷을 사용한다.
2026-01-05 11:36:26 +09:00

46 lines
1011 B
Swift

//
// GetRoomDetailResponse.swift
// SodaLive
//
// Created by klaus on 2023/08/10.
//
import Foundation
struct GetRoomDetailResponse: Decodable {
let roomId: Int
let price: Int
let title: String
let notice: String
let isPaid: Bool
let isAdult: Bool
let isPrivateRoom: Bool
let password: String?
let tags: [String]
let channelName: String?
let beginDateTime: String
let beginDateTimeUtc: String
let numberOfParticipants: Int
let numberOfParticipantsTotal: Int
let manager: GetRoomDetailManager
let participatingUsers: [GetRoomDetailUser]
}
struct GetRoomDetailManager: Decodable {
let id: Int
let nickname: String
let introduce: String
let youtubeUrl: String?
let instagramUrl: String?
let websiteUrl: String?
let blogUrl: String?
let profileImageUrl: String
let isCreator: Bool
}
struct GetRoomDetailUser: Decodable, Hashable {
let id: Int
let nickname: String
let profileImageUrl: String
}