PrivMX DOCS
API Reference/PrivMX Endpoint Swift Extra/Types

privmx.endpoint.kvdb.ServerKvdbEntryInfo

Holds Kvdb entry's information created by the server

Fields

id

String The unique identifier for the file. This property returns the fileId as a String, which serves as the unique identifier for the file.

Static Methods

==(::)

Compares two ServerKvdbEntryInfo instances for equality. This function compares key properties of the two ServerKvdbEntryInfo instances, including fileId, kvdbId, author, and createDate.

Params

lhs

privmx.endpoint.kvdb.ServerKvdbEntryInfo

The left-hand side ServerKvdbEntryInfo instance.

rhs

privmx.endpoint.kvdb.ServerKvdbEntryInfo

The right-hand side ServerKvdbEntryInfo instance.

public static func == (
lhs: privmx.endpoint.kvdb.ServerKvdbEntryInfo,
rhs: privmx.endpoint.kvdb.ServerKvdbEntryInfo
) -> Bool

Returns

Bool · true if all relevant fields of both file info instances are equal, otherwise false.

Methods

hash(into:)

Generates a hash value for the ServerKvdbEntryInfo instance. This function combines the fileId and createDate properties to generate a unique hash value for the file info.

Params

hasher

inout Hasher

The Hasher instance used to compute the hash value.

public func hash(into hasher: inout Hasher) -> Void

We use cookies on our website. We use them to ensure the proper functioning of the site and, if you agree, for purposes we set, such as analytics or marketing.