DBFILESTagSerializer

Objective-C

@interface DBFILESTagSerializer : NSObject

Swift

class DBFILESTagSerializer : NSObject

The serialization class for the DBFILESTag union.

  • Serializes DBFILESTag instances.

    Declaration

    Objective-C

    + (nullable NSDictionary<NSString *, id> *)serialize:
        (nonnull DBFILESTag *)instance;

    Swift

    class func serialize(_ instance: DBFILESTag) -> [String : Any]?

    Parameters

    instance

    An instance of the DBFILESTag API object.

    Return Value

    A json-compatible dictionary representation of the DBFILESTag API object.

  • Deserializes DBFILESTag instances.

    Declaration

    Objective-C

    + (nonnull DBFILESTag *)deserialize:
        (nonnull NSDictionary<NSString *, id> *)dict;

    Swift

    class func deserialize(_ dict: [String : Any]) -> DBFILESTag

    Parameters

    dict

    A json-compatible dictionary representation of the DBFILESTag API object.

    Return Value

    An instantiation of the DBFILESTag object.