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