크리에이터 채널
- 시리즈 section 추가
This commit is contained in:
		
							
								
								
									
										31
									
								
								SodaLive/Sources/Content/Series/GetSeriesListResponse.swift
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										31
									
								
								SodaLive/Sources/Content/Series/GetSeriesListResponse.swift
									
									
									
									
									
										Normal file
									
								
							@@ -0,0 +1,31 @@
 | 
			
		||||
//
 | 
			
		||||
//  GetSeriesListResponse.swift
 | 
			
		||||
//  SodaLive
 | 
			
		||||
//
 | 
			
		||||
//  Created by klaus on 4/29/24.
 | 
			
		||||
//
 | 
			
		||||
 | 
			
		||||
import Foundation
 | 
			
		||||
 | 
			
		||||
struct GetSeriesListResponse: Decodable {
 | 
			
		||||
    let totalCount: Int
 | 
			
		||||
    let items: [SeriesListItem]
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
struct SeriesListItem: Decodable {
 | 
			
		||||
    let seriesId: Int
 | 
			
		||||
    let title: String
 | 
			
		||||
    let coverImage: String
 | 
			
		||||
    let publishedDaysOfWeek: String
 | 
			
		||||
    let isComplete: Bool
 | 
			
		||||
    let creator: SeriesListItemCreator
 | 
			
		||||
    let numberOfContent: Int
 | 
			
		||||
    let isNew: Bool
 | 
			
		||||
    let isPopular: Bool
 | 
			
		||||
}
 | 
			
		||||
 | 
			
		||||
struct SeriesListItemCreator: Decodable {
 | 
			
		||||
    let creatorId: Int
 | 
			
		||||
    let nickname: String
 | 
			
		||||
    let profileImage: String
 | 
			
		||||
}
 | 
			
		||||
		Reference in New Issue
	
	Block a user