크리에이터 채널 페이지 추가

This commit is contained in:
Yu Sung
2023-08-11 18:33:48 +09:00
parent a167840162
commit a8338e6fea
69 changed files with 4087 additions and 10 deletions

View File

@@ -7,6 +7,37 @@
import Foundation
struct GetRoomDetailResponse: Decodable {
let roomId: Int
let price: Int
let title: String
let content: String
let isPaid: Bool
let isPrivateRoom: Bool
let isSecretRoom: Bool
let password: Int?
let tags: [String]
let channelName: String?
let beginDateTime: String
let isNotification: Bool
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 isCounselor: Bool
}
struct GetRoomDetailUser: Decodable, Hashable {
let id: Int
let nickname: String

View File

@@ -0,0 +1,14 @@
//
// EnterOrQuitLiveRoomRequest.swift
// SodaLive
//
// Created by klaus on 2023/08/11.
//
import Foundation
struct EnterOrQuitLiveRoomRequest: Encodable {
let roomId: Int
let container: String = "ios"
var password: Int? = nil
}