File tree Expand file tree Collapse file tree 1 file changed +44
-0
lines changed
wrappers/swift/Sources/OneDSSwift Expand file tree Collapse file tree 1 file changed +44
-0
lines changed Original file line number Diff line number Diff line change @@ -45,6 +45,50 @@ public final class EventProperties {
45
45
odwEventProperties = ODWEventProperties ( name: name, properties: properties, piiTags: piiTags)
46
46
}
47
47
48
+ /// Event name.
49
+ public var name : String {
50
+ get {
51
+ odwEventProperties. name
52
+ }
53
+ set {
54
+ odwEventProperties. name = newValue
55
+ }
56
+ }
57
+
58
+ /// Event priority.
59
+ public var priority : EventPriority {
60
+ get {
61
+ odwEventProperties. priority
62
+ }
63
+ set {
64
+ odwEventProperties. priority = newValue
65
+ }
66
+ }
67
+
68
+ /// Event properties. Key is property name, value is property value.
69
+ public var properties : [ String : Any ] {
70
+ get {
71
+ odwEventProperties. properties
72
+ }
73
+ }
74
+
75
+ /// Event PII (personal identifiable information ) tags. Key is property name, value is ODWPiiKind value.
76
+ public var piiTags : [ String : NSNumber ] {
77
+ get {
78
+ odwEventProperties. piiTags
79
+ }
80
+ }
81
+
82
+ /// Base Type of an event. This field is populated in Records.Type
83
+ public var eventType : String {
84
+ get {
85
+ odwEventProperties. eventType
86
+ }
87
+ set {
88
+ odwEventProperties. eventType = newValue
89
+ }
90
+ }
91
+
48
92
/**
49
93
Sets the base type of the event, populated in Records.Type.
50
94
You can’t perform that action at this time.
0 commit comments