DBTEAMLOGTeamName

Objective-C

@interface DBTEAMLOGTeamName : NSObject <DBSerializable, NSCopying>

Swift

class 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.

Instance fields

  • Team’s display name.

    Declaration

    Objective-C

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

    Swift

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

    Declaration

    Objective-C

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

    Swift

    var teamLegalName: String { get }

Constructors

  • 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.