-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathWebPageDTO.swift
More file actions
53 lines (48 loc) · 1.07 KB
/
Copy pathWebPageDTO.swift
File metadata and controls
53 lines (48 loc) · 1.07 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
//
// WebPageDTO.swift
// DevLogData
//
// Created by 최윤진 on 2/9/26.
//
import Foundation
import DevLogDomain
public struct WebPageRequest: Encodable {
public let title: String
public let url: String
public let displayURL: String
public let imageURL: String
public let isDeleted: Bool
public init(
title: String,
url: String,
displayURL: String,
imageURL: String,
isDeleted: Bool
) {
self.title = title
self.url = url
self.displayURL = displayURL
self.imageURL = imageURL
self.isDeleted = isDeleted
}
}
public struct WebPageResponse {
public let id: String
public let title: String
public let url: String
public let displayURL: String
public let imageURL: String
public init(
id: String,
title: String,
url: String,
displayURL: String,
imageURL: String
) {
self.id = id
self.title = title
self.url = url
self.displayURL = displayURL
self.imageURL = imageURL
}
}