@@ -19,7 +19,7 @@ public struct Destination: Codable, JSONEncodable {
1919 /// Date of creation in RFC 3339 format.
2020 public var createdAt : String
2121 /// Date of last update in RFC 3339 format.
22- public var updatedAt : String ?
22+ public var updatedAt : String
2323 /// Universally unique identifier (UUID) of an authentication resource.
2424 public var authenticationID : String ?
2525 public var transformationIDs : [ String ] ?
@@ -31,7 +31,7 @@ public struct Destination: Codable, JSONEncodable {
3131 owner: String ? = nil ,
3232 input: DestinationInput ,
3333 createdAt: String ,
34- updatedAt: String ? = nil ,
34+ updatedAt: String ,
3535 authenticationID: String ? = nil ,
3636 transformationIDs: [ String ] ? = nil
3737 ) {
@@ -68,7 +68,7 @@ public struct Destination: Codable, JSONEncodable {
6868 try container. encodeIfPresent ( self . owner, forKey: . owner)
6969 try container. encode ( self . input, forKey: . input)
7070 try container. encode ( self . createdAt, forKey: . createdAt)
71- try container. encodeIfPresent ( self . updatedAt, forKey: . updatedAt)
71+ try container. encode ( self . updatedAt, forKey: . updatedAt)
7272 try container. encodeIfPresent ( self . authenticationID, forKey: . authenticationID)
7373 try container. encodeIfPresent ( self . transformationIDs, forKey: . transformationIDs)
7474 }
@@ -96,7 +96,7 @@ extension Destination: Hashable {
9696 hasher. combine ( self . owner? . hashValue)
9797 hasher. combine ( self . input. hashValue)
9898 hasher. combine ( self . createdAt. hashValue)
99- hasher. combine ( self . updatedAt? . hashValue)
99+ hasher. combine ( self . updatedAt. hashValue)
100100 hasher. combine ( self . authenticationID? . hashValue)
101101 hasher. combine ( self . transformationIDs? . hashValue)
102102 }
0 commit comments