Metadata
public class Metadata : Object, Codable
extension Metadata: JSONDecodable
extension Metadata: Mappable
This class represents the metadata information for a record
-
Last Read Time
Declaration
Swift
open var lastReadTime: Date { get }
-
Last Modification Time.
Declaration
Swift
open var lastModifiedTime: Date? { get set }
-
Entity Creation Time.
Declaration
Swift
open var entityCreationTime: Date? { get set }
-
Authentication Token.
Declaration
Swift
@objc open internal(set) dynamic var authtoken: String? { get }
-
Default Constructor.
Declaration
Swift
public required override init()
-
Declaration
Swift
public required init(from decoder: Decoder) throws
-
Declaration
Swift
public func encode(to encoder: Encoder) throws
-
Constructor that validates if the map can be build a new instance of Metadata.
Declaration
Swift
@available(*, deprecated, message: "Deprecated in version 3.18.0. Please use Swift.Codable instead") public required convenience init?(map: Map)
-
This function is where all variable mappings should occur. It is executed by Mapper during the mapping (serialization and deserialization) process.
Declaration
Swift
@available(*, deprecated, message: "Deprecated in version 3.18.0. Please use Swift.Codable instead") public func mapping(map: Map)
-
Undocumented
Declaration
Swift
public class func decode<T>(from data: Data) throws -> T where T : JSONDecodable
-
Undocumented
Declaration
Swift
public class func decodeArray<T>(from data: Data) throws -> [T] where T : JSONDecodable
-
Undocumented
Declaration
Swift
public class func decode<T>(from dictionary: [String : Any]) throws -> T where T : JSONDecodable
-
Undocumented
Declaration
Swift
public func refresh(from dictionary: [String : Any]) throws