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