PrivMX DOCS
API Reference/PrivMX Endpoint Swift Extra/Types

Store

Holds all available information about a Store.

Fields

id

String The unique identifier for the store. This property returns the storeId as a String, which serves as the unique identifier for the store.

Static Methods

==(::)

Compares two Store instances for equality. This function compares multiple key properties of the two Store instances, including storeId, contextId, createDate, creator, privateMeta, publicMeta, filesCount, lastFileDate, lastModificationDate, lastModifier, managers, users, version, and statusCode.

Params

lhs

privmx.endpoint.store.Store

The left-hand side Store instance.

rhs

privmx.endpoint.store.Store

The right-hand side Store instance.

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

Returns

Bool · true if all relevant fields of both stores are equal, otherwise false.

Methods

hash(into:)

Generates a hash value for the Store instance. This function combines several properties, including storeId, lastModificationDate, and version to generate a unique hash value for the store.

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.