DBTEAMLOGOriginLogInfo
Objective-C
@interface DBTEAMLOGOriginLogInfo : NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMLOGOriginLogInfo : NSObject, DBSerializable, NSCopying
The OriginLogInfo
struct.
The origin from which the actor performed the action.
This class implements the DBSerializable
protocol (serialize and
deserialize instance methods), which is required for all Obj-C SDK API route
objects.
-
Geographic location details.
Declaration
Objective-C
@property (nonatomic, readonly, nullable) DBTEAMLOGGeoLocationLogInfo *geoLocation;
Swift
var geoLocation: DBTEAMLOGGeoLocationLogInfo? { get }
-
The method that was used to perform the action.
Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGAccessMethodLogInfo *_Nonnull accessMethod;
Swift
var accessMethod: DBTEAMLOGAccessMethodLogInfo { get }
-
Full constructor for the struct (exposes all instance variables).
Declaration
Objective-C
- (nonnull instancetype) initWithAccessMethod:(nonnull DBTEAMLOGAccessMethodLogInfo *)accessMethod geoLocation:(nullable DBTEAMLOGGeoLocationLogInfo *)geoLocation;
Swift
init(accessMethod: DBTEAMLOGAccessMethodLogInfo, geoLocation: DBTEAMLOGGeoLocationLogInfo?)
Parameters
accessMethod
The method that was used to perform the action.
geoLocation
Geographic location details.
Return Value
An initialized instance.
-
Convenience constructor (exposes only non-nullable instance variables with no default value).
Declaration
Objective-C
- (nonnull instancetype)initWithAccessMethod: (nonnull DBTEAMLOGAccessMethodLogInfo *)accessMethod;
Swift
init(accessMethod: DBTEAMLOGAccessMethodLogInfo)
Parameters
accessMethod
The method that was used to perform the action.
Return Value
An initialized instance.