DBUSERSNameSerializer

Objective-C

@interface DBUSERSNameSerializer : NSObject

Swift

class DBUSERSNameSerializer : NSObject

The serialization class for the Name struct.

  • Serializes DBUSERSName instances.

    Declaration

    Objective-C

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

    Swift

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

    Parameters

    instance

    An instance of the DBUSERSName API object.

    Return Value

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

  • Deserializes DBUSERSName instances.

    Declaration

    Objective-C

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

    Swift

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

    Parameters

    dict

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

    Return Value

    An instantiation of the DBUSERSName object.