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