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