크리에이터 채널 페이지 추가
This commit is contained in:
@@ -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
|
||||
|
14
SodaLive/Sources/Live/Room/EnterOrQuitLiveRoomRequest.swift
Normal file
14
SodaLive/Sources/Live/Room/EnterOrQuitLiveRoomRequest.swift
Normal 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
|
||||
}
|
Reference in New Issue
Block a user