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