DBTEAMLOGTeamMergeRequestCanceledExtraDetails
Objective-C
@interface DBTEAMLOGTeamMergeRequestCanceledExtraDetails
    : NSObject <DBSerializable, NSCopying>
                Swift
class DBTEAMLOGTeamMergeRequestCanceledExtraDetails : NSObject, DBSerializable, NSCopying
                The TeamMergeRequestCanceledExtraDetails union.
Team merge request cancellation details
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) DBTEAMLOGTeamMergeRequestCanceledExtraDetailsTag tag;Swift
var tag: DBTEAMLOGTeamMergeRequestCanceledExtraDetailsTag { get } - 
                  
                  
Team merge request cancellation details shown to the primary team. @note Ensure the
isPrimaryTeammethod returns true before accessing, otherwise a runtime exception will be raised.Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGPrimaryTeamRequestCanceledDetails *_Nonnull primaryTeam;Swift
var primaryTeam: DBTEAMLOGPrimaryTeamRequestCanceledDetails { get } - 
                  
                  
Team merge request cancellation details shown to the secondary team. @note Ensure the
isSecondaryTeammethod returns true before accessing, otherwise a runtime exception will be raised.Declaration
Objective-C
@property (nonatomic, readonly) DBTEAMLOGSecondaryTeamRequestCanceledDetails *_Nonnull secondaryTeam;Swift
var secondaryTeam: DBTEAMLOGSecondaryTeamRequestCanceledDetails { get } 
- 
                  
                  
Initializes union class with tag state of “primary_team”.
Description of the “primary_team” tag state: Team merge request cancellation details shown to the primary team.
Declaration
Objective-C
- (nonnull instancetype)initWithPrimaryTeam: (nonnull DBTEAMLOGPrimaryTeamRequestCanceledDetails *)primaryTeam;Swift
init(primaryTeam: DBTEAMLOGPrimaryTeamRequestCanceledDetails)Parameters
primaryTeamTeam merge request cancellation details shown to the primary team.
Return Value
An initialized instance.
 - 
                  
                  
Initializes union class with tag state of “secondary_team”.
Description of the “secondary_team” tag state: Team merge request cancellation details shown to the secondary team.
Declaration
Objective-C
- (nonnull instancetype)initWithSecondaryTeam: (nonnull DBTEAMLOGSecondaryTeamRequestCanceledDetails *)secondaryTeam;Swift
init(secondaryTeam: DBTEAMLOGSecondaryTeamRequestCanceledDetails)Parameters
secondaryTeamTeam merge request cancellation details shown to the secondary team.
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 “primary_team”.
Note
Call this method and ensure it returns true before accessing the
primaryTeamproperty, otherwise a runtime exception will be thrown.Declaration
Objective-C
- (BOOL)isPrimaryTeam;Swift
func isPrimaryTeam() -> BoolReturn Value
Whether the union’s current tag state has value “primary_team”.
 - 
                  
                  
Retrieves whether the union’s current tag state has value “secondary_team”.
Note
Call this method and ensure it returns true before accessing the
secondaryTeamproperty, otherwise a runtime exception will be thrown.Declaration
Objective-C
- (BOOL)isSecondaryTeam;Swift
func isSecondaryTeam() -> BoolReturn Value
Whether the union’s current tag state has value “secondary_team”.
 - 
                  
                  
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
        DBTEAMLOGTeamMergeRequestCanceledExtraDetails Class Reference