DBTEAMLOGSharingMemberPolicy
Objective-C
@interface DBTEAMLOGSharingMemberPolicy : NSObject <DBSerializable, NSCopying>
Swift
class DBTEAMLOGSharingMemberPolicy : NSObject, DBSerializable, NSCopying
The SharingMemberPolicy
union.
External sharing policy
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) DBTEAMLOGSharingMemberPolicyTag tag;
Swift
var tag: DBTEAMLOGSharingMemberPolicyTag { get }
-
Initializes union class with tag state of “allow”.
Declaration
Objective-C
- (nonnull instancetype)initWithAllow;
Swift
init(allow: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “forbid”.
Declaration
Objective-C
- (nonnull instancetype)initWithForbid;
Swift
init(forbid: ())
Return Value
An initialized instance.
-
Initializes union class with tag state of “forbid_with_exclusions”.
Declaration
Objective-C
- (nonnull instancetype)initWithForbidWithExclusions;
Swift
init(forbidWithExclusions: ())
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 “allow”.
Declaration
Objective-C
- (BOOL)isAllow;
Swift
func isAllow() -> Bool
Return Value
Whether the union’s current tag state has value “allow”.
-
Retrieves whether the union’s current tag state has value “forbid”.
Declaration
Objective-C
- (BOOL)isForbid;
Swift
func isForbid() -> Bool
Return Value
Whether the union’s current tag state has value “forbid”.
-
Retrieves whether the union’s current tag state has value “forbid_with_exclusions”.
Declaration
Objective-C
- (BOOL)isForbidWithExclusions;
Swift
func isForbidWithExclusions() -> Bool
Return Value
Whether the union’s current tag state has value “forbid_with_exclusions”.
-
Retrieves whether the union’s current tag state has value “other”.
Declaration
Objective-C
- (BOOL)isOther;
Swift
func isOther() -> Bool
Return 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() -> String
Return Value
A human-readable string representing the union’s current tag state.