File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -53,7 +53,7 @@ public final class FileRequest: BoxModel {
5353 // MARK: - Properties
5454
5555 /// The unique identifier for this file request.
56- public let id : String ?
56+ public let id : String
5757 /// The title of file request. This is shown in the Box UI to users uploading files.
5858 public let title : String ?
5959 /// The optional description of this file request. This is shown in the Box UI to users uploading files.
@@ -98,7 +98,7 @@ public final class FileRequest: BoxModel {
9898
9999 type = itemType
100100 rawData = json
101- id = try BoxJSONDecoder . optionalDecode ( json: json, forKey: " id " )
101+ id = try BoxJSONDecoder . decode ( json: json, forKey: " id " )
102102 title = try BoxJSONDecoder . optionalDecode ( json: json, forKey: " title " )
103103 description = try BoxJSONDecoder . optionalDecode ( json: json, forKey: " description " )
104104 status = try BoxJSONDecoder . optionalDecodeEnum ( json: json, forKey: " status " )
You can’t perform that action at this time.
0 commit comments