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