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