DBUSERSGetAccountArg

Objective-C

@interface DBUSERSGetAccountArg : NSObject <DBSerializable, NSCopying>

Swift

class DBUSERSGetAccountArg : NSObject, DBSerializable, NSCopying

The GetAccountArg struct.

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

Instance fields

  • A user’s account identifier.

    Declaration

    Objective-C

    @property (nonatomic, copy, readonly) NSString *_Nonnull accountId;

    Swift

    var accountId: String { get }

Constructors

  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithAccountId:(nonnull NSString *)accountId;

    Swift

    init(accountId: String)

    Parameters

    accountId

    A user’s account identifier.

    Return Value

    An initialized instance.