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