DBSHARINGLinkSettingsSerializer
Objective-C
@interface DBSHARINGLinkSettingsSerializer : NSObject
Swift
class DBSHARINGLinkSettingsSerializer : NSObject
The serialization class for the LinkSettings
struct.
-
Serializes
DBSHARINGLinkSettings
instances.Declaration
Objective-C
+ (nullable NSDictionary<NSString *, id> *)serialize: (nonnull DBSHARINGLinkSettings *)instance;
Swift
class func serialize(_ instance: DBSHARINGLinkSettings) -> [String : Any]?
Parameters
instance
An instance of the
DBSHARINGLinkSettings
API object.Return Value
A json-compatible dictionary representation of the
DBSHARINGLinkSettings
API object. -
Deserializes
DBSHARINGLinkSettings
instances.Declaration
Objective-C
+ (nonnull DBSHARINGLinkSettings *)deserialize: (nonnull NSDictionary<NSString *, id> *)dict;
Swift
class func deserialize(_ dict: [String : Any]) -> DBSHARINGLinkSettings
Parameters
dict
A json-compatible dictionary representation of the
DBSHARINGLinkSettings
API object.Return Value
An instantiation of the
DBSHARINGLinkSettings
object.