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