DBUSERSNameSerializer

@interface DBUSERSNameSerializer : NSObject

The serialization class for the Name struct.

  • Serializes DBUSERSName instances.

    Declaration

    Objective-C

    + (nullable NSDictionary *)serialize:(nonnull DBUSERSName *)instance;

    Swift

    class func serialize(_ instance: DBUSERSName) -> [AnyHashable : 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 *)dict;

    Swift

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

    Parameters

    dict

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

    Return Value

    An instantiation of the DBUSERSName object.