DBTEAMLOGAccessMethodLogInfo
Objective-C
@interface DBTEAMLOGAccessMethodLogInfo : NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMLOGAccessMethodLogInfo : NSObject, DBSerializable, NSCopying
The AccessMethodLogInfo union.
Indicates the method in which the action was performed.
This class implements the DBSerializable protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Represents the union’s current tag state.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGAccessMethodLogInfoTag tag;Swift
var tag: DBTEAMLOGAccessMethodLogInfoTag { get } -
Admin console session details. - note: Ensure the
isAdminConsolemethod returns true before accessing, otherwise a runtime exception will be raised.Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGWebSessionLogInfo *_Nonnull adminConsole;Swift
var adminConsole: DBTEAMLOGWebSessionLogInfo { get } -
Api session details. - note: Ensure the
isApimethod returns true before accessing, otherwise a runtime exception will be raised.Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGApiSessionLogInfo *_Nonnull api;Swift
var api: DBTEAMLOGApiSessionLogInfo { get } -
Content manager session details. - note: Ensure the
isContentManagermethod returns true before accessing, otherwise a runtime exception will be raised.Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGWebSessionLogInfo *_Nonnull contentManager;Swift
var contentManager: DBTEAMLOGWebSessionLogInfo { get } -
End user session details. - note: Ensure the
isEndUsermethod returns true before accessing, otherwise a runtime exception will be raised.Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGSessionLogInfo *_Nonnull endUser;Swift
var endUser: DBTEAMLOGSessionLogInfo { get } -
Enterprise console session details. - note: Ensure the
isEnterpriseConsolemethod returns true before accessing, otherwise a runtime exception will be raised.Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGWebSessionLogInfo *_Nonnull enterpriseConsole;Swift
var enterpriseConsole: DBTEAMLOGWebSessionLogInfo { get } -
Sign in as session details. - note: Ensure the
isSignInAsmethod returns true before accessing, otherwise a runtime exception will be raised.Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGWebSessionLogInfo *_Nonnull signInAs;Swift
var signInAs: DBTEAMLOGWebSessionLogInfo { get }
-
Initializes union class with tag state of “admin_console”.
Description of the “admin_console” tag state: Admin console session details.
Declaration
Objective-C
- (nonnull instancetype)initWithAdminConsole: (nonnull DBTEAMLOGWebSessionLogInfo *)adminConsole;Swift
init(adminConsole: DBTEAMLOGWebSessionLogInfo)Parameters
adminConsoleAdmin console session details.
Return Value
An initialized instance.
-
Initializes union class with tag state of “api”.
Description of the “api” tag state: Api session details.
Declaration
Objective-C
- (nonnull instancetype)initWithApi:(nonnull DBTEAMLOGApiSessionLogInfo *)api;Swift
init(api: DBTEAMLOGApiSessionLogInfo)Parameters
apiApi session details.
Return Value
An initialized instance.
-
Initializes union class with tag state of “content_manager”.
Description of the “content_manager” tag state: Content manager session details.
Declaration
Objective-C
- (nonnull instancetype)initWithContentManager: (nonnull DBTEAMLOGWebSessionLogInfo *)contentManager;Swift
init(contentManager: DBTEAMLOGWebSessionLogInfo)Parameters
contentManagerContent manager session details.
Return Value
An initialized instance.
-
Initializes union class with tag state of “end_user”.
Description of the “end_user” tag state: End user session details.
Declaration
Objective-C
- (nonnull instancetype)initWithEndUser: (nonnull DBTEAMLOGSessionLogInfo *)endUser;Swift
init(endUser: DBTEAMLOGSessionLogInfo)Parameters
endUserEnd user session details.
Return Value
An initialized instance.
-
Initializes union class with tag state of “enterprise_console”.
Description of the “enterprise_console” tag state: Enterprise console session details.
Declaration
Objective-C
- (nonnull instancetype)initWithEnterpriseConsole: (nonnull DBTEAMLOGWebSessionLogInfo *)enterpriseConsole;Swift
init(enterpriseConsole: DBTEAMLOGWebSessionLogInfo)Parameters
enterpriseConsoleEnterprise console session details.
Return Value
An initialized instance.
-
Initializes union class with tag state of “sign_in_as”.
Description of the “sign_in_as” tag state: Sign in as session details.
Declaration
Objective-C
- (nonnull instancetype)initWithSignInAs: (nonnull DBTEAMLOGWebSessionLogInfo *)signInAs;Swift
init(signInAs: DBTEAMLOGWebSessionLogInfo)Parameters
signInAsSign in as session details.
Return Value
An initialized instance.
-
Initializes union class with tag state of “other”.
Declaration
Objective-C
- (nonnull instancetype)initWithOther;Swift
init(other: ())Return Value
An initialized instance.
-
Retrieves whether the union’s current tag state has value “admin_console”.
Note
Call this method and ensure it returns true before accessing the
adminConsoleproperty, otherwise a runtime exception will be thrown.Declaration
Objective-C
- (BOOL)isAdminConsole;Swift
func isAdminConsole() -> BoolReturn Value
Whether the union’s current tag state has value “admin_console”.
-
Retrieves whether the union’s current tag state has value “api”.
Note
Call this method and ensure it returns true before accessing the
apiproperty, otherwise a runtime exception will be thrown.Declaration
Objective-C
- (BOOL)isApi;Swift
func isApi() -> BoolReturn Value
Whether the union’s current tag state has value “api”.
-
Retrieves whether the union’s current tag state has value “content_manager”.
Note
Call this method and ensure it returns true before accessing the
contentManagerproperty, otherwise a runtime exception will be thrown.Declaration
Objective-C
- (BOOL)isContentManager;Swift
func isContentManager() -> BoolReturn Value
Whether the union’s current tag state has value “content_manager”.
-
Retrieves whether the union’s current tag state has value “end_user”.
Note
Call this method and ensure it returns true before accessing the
endUserproperty, otherwise a runtime exception will be thrown.Declaration
Objective-C
- (BOOL)isEndUser;Swift
func isEndUser() -> BoolReturn Value
Whether the union’s current tag state has value “end_user”.
-
Retrieves whether the union’s current tag state has value “enterprise_console”.
Note
Call this method and ensure it returns true before accessing the
enterpriseConsoleproperty, otherwise a runtime exception will be thrown.Declaration
Objective-C
- (BOOL)isEnterpriseConsole;Swift
func isEnterpriseConsole() -> BoolReturn Value
Whether the union’s current tag state has value “enterprise_console”.
-
Retrieves whether the union’s current tag state has value “sign_in_as”.
Note
Call this method and ensure it returns true before accessing the
signInAsproperty, otherwise a runtime exception will be thrown.Declaration
Objective-C
- (BOOL)isSignInAs;Swift
func isSignInAs() -> BoolReturn Value
Whether the union’s current tag state has value “sign_in_as”.
-
Retrieves whether the union’s current tag state has value “other”.
Declaration
Objective-C
- (BOOL)isOther;Swift
func isOther() -> BoolReturn Value
Whether the union’s current tag state has value “other”.
-
Retrieves string value of union’s current tag state.
Declaration
Objective-C
- (nonnull NSString *)tagName;Swift
func tagName() -> StringReturn Value
A human-readable string representing the union’s current tag state.
View on GitHub
DBTEAMLOGAccessMethodLogInfo Class Reference