DBTEAMRevokeLinkedAppStatus

Objective-C

@interface DBTEAMRevokeLinkedAppStatus : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMRevokeLinkedAppStatus : NSObject, DBSerializable, NSCopying

The RevokeLinkedAppStatus 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

  • Result of the revoking request.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *_Nonnull success;

    Swift

    var success: NSNumber { get }
  • The error cause in case of a failure.

    Declaration

    Objective-C

    @property (nonatomic, readonly, nullable) DBTEAMRevokeLinkedAppError *errorType;

    Swift

    var errorType: DBTEAMRevokeLinkedAppError? { get }

Constructors

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

    Declaration

    Objective-C

    - (nonnull instancetype)initWithSuccess:(nonnull NSNumber *)success
                                  errorType:(nullable DBTEAMRevokeLinkedAppError *)
                                                errorType;

    Swift

    init(success: NSNumber, errorType: DBTEAMRevokeLinkedAppError?)

    Parameters

    success

    Result of the revoking request.

    errorType

    The error cause in case of a failure.

    Return Value

    An initialized instance.

  • Convenience constructor (exposes only non-nullable instance variables with no default value).

    Declaration

    Objective-C

    - (nonnull instancetype)initWithSuccess:(nonnull NSNumber *)success;

    Swift

    init(success: NSNumber)

    Parameters

    success

    Result of the revoking request.

    Return Value

    An initialized instance.