Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
24 changes: 12 additions & 12 deletions wrappers/swift/didcomm/didcomm.swift
Original file line number Diff line number Diff line change
Expand Up @@ -1375,8 +1375,8 @@ public struct Message {
public var thid: String?
public var pthid: String?
public var extraHeaders: [String: String]
public var createdTime: UInt64?
public var expiresTime: UInt64?
public var created_time: UInt64?
public var expires_time: UInt64?
public var fromPrior: String?
public var attachments: [Attachment]?

Expand All @@ -1392,8 +1392,8 @@ public struct Message {
self.thid = thid
self.pthid = pthid
self.extraHeaders = extraHeaders
self.createdTime = createdTime
self.expiresTime = expiresTime
self.created_time = created_time
self.expires_time = expires_time
self.fromPrior = fromPrior
self.attachments = attachments
}
Expand Down Expand Up @@ -1428,10 +1428,10 @@ extension Message: Equatable, Hashable {
if lhs.extraHeaders != rhs.extraHeaders {
return false
}
if lhs.createdTime != rhs.createdTime {
if lhs.created_time != rhs.created_time {
return false
}
if lhs.expiresTime != rhs.expiresTime {
if lhs.expires_time != rhs.expires_time {
return false
}
if lhs.fromPrior != rhs.fromPrior {
Expand All @@ -1453,8 +1453,8 @@ extension Message: Equatable, Hashable {
hasher.combine(thid)
hasher.combine(pthid)
hasher.combine(extraHeaders)
hasher.combine(createdTime)
hasher.combine(expiresTime)
hasher.combine(created_time)
hasher.combine(expires_time)
hasher.combine(fromPrior)
hasher.combine(attachments)
}
Expand All @@ -1472,8 +1472,8 @@ private extension Message {
thid: FfiConverterOptionString.read(from: buf),
pthid: FfiConverterOptionString.read(from: buf),
extraHeaders: FfiConverterDictionaryJsonValue.read(from: buf),
createdTime: FfiConverterOptionUInt64.read(from: buf),
expiresTime: FfiConverterOptionUInt64.read(from: buf),
created_time: FfiConverterOptionUInt64.read(from: buf),
expires_time: FfiConverterOptionUInt64.read(from: buf),
fromPrior: FfiConverterOptionString.read(from: buf),
attachments: FfiConverterOptionSequenceRecordAttachment.read(from: buf)
)
Expand All @@ -1489,8 +1489,8 @@ private extension Message {
FfiConverterOptionString.write(thid, into: buf)
FfiConverterOptionString.write(pthid, into: buf)
FfiConverterDictionaryJsonValue.write(extraHeaders, into: buf)
FfiConverterOptionUInt64.write(createdTime, into: buf)
FfiConverterOptionUInt64.write(expiresTime, into: buf)
FfiConverterOptionUInt64.write(created_time, into: buf)
FfiConverterOptionUInt64.write(expires_time, into: buf)
FfiConverterOptionString.write(fromPrior, into: buf)
FfiConverterOptionSequenceRecordAttachment.write(attachments, into: buf)
}
Expand Down