DBSHARINGLinkExpirySerializer
Objective-C
@interface DBSHARINGLinkExpirySerializer : NSObject
Swift
class DBSHARINGLinkExpirySerializer : NSObject
The serialization class for the DBSHARINGLinkExpiry union.
-
Serializes
DBSHARINGLinkExpiryinstances.Declaration
Objective-C
+ (nullable NSDictionary<NSString *, id> *)serialize: (nonnull DBSHARINGLinkExpiry *)instance;Swift
class func serialize(_ instance: DBSHARINGLinkExpiry) -> [String : Any]?Parameters
instanceAn instance of the
DBSHARINGLinkExpiryAPI object.Return Value
A json-compatible dictionary representation of the
DBSHARINGLinkExpiryAPI object. -
Deserializes
DBSHARINGLinkExpiryinstances.Declaration
Objective-C
+ (nonnull DBSHARINGLinkExpiry *)deserialize: (nonnull NSDictionary<NSString *, id> *)dict;Swift
class func deserialize(_ dict: [String : Any]) -> DBSHARINGLinkExpiryParameters
dictA json-compatible dictionary representation of the
DBSHARINGLinkExpiryAPI object.Return Value
An instantiation of the
DBSHARINGLinkExpiryobject.
View on GitHub
DBSHARINGLinkExpirySerializer Class Reference