DBTEAMLOGTeamName

@interface DBTEAMLOGTeamName : NSObject <DBSerializable, NSCopying>

The TeamName struct.

Team name details

This class implements the DBSerializable protocol (serialize and deserialize instance methods), which is required for all Obj-C SDK API route objects.

  • Team’s display name.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *_Nonnull teamDisplayName;

    Swift

    var teamDisplayName: String { get }
  • Team’s legal name.

    Declaration

    Objective-C

    @property (readonly, copy, nonatomic) NSString *_Nonnull teamLegalName;

    Swift

    var teamLegalName: String { get }
  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)
    initWithTeamDisplayName:(nonnull NSString *)teamDisplayName
              teamLegalName:(nonnull NSString *)teamLegalName;

    Swift

    init(teamDisplayName: String, teamLegalName: String)

    Parameters

    teamDisplayName

    Team’s display name.

    teamLegalName

    Team’s legal name.

    Return Value

    An initialized instance.