DBTEAMTeamGetInfoResult

Objective-C

@interface DBTEAMTeamGetInfoResult : NSObject <DBSerializable, NSCopying>

Swift

class DBTEAMTeamGetInfoResult : NSObject, DBSerializable, NSCopying

The TeamGetInfoResult struct.

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

Instance fields

  • The name of the team.

    Declaration

    Objective-C

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

    Swift

    var name: String { get }
  • The ID of the team.

    Declaration

    Objective-C

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

    Swift

    var teamId: String { get }
  • The number of licenses available to the team.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *_Nonnull numLicensedUsers;

    Swift

    var numLicensedUsers: NSNumber { get }
  • The number of accounts that have been invited or are already active members of the team.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *_Nonnull numProvisionedUsers;

    Swift

    var numProvisionedUsers: NSNumber { get }
  • The number of licenses used on the team.

    Declaration

    Objective-C

    @property (nonatomic, readonly) NSNumber *_Nonnull numUsedLicenses;

    Swift

    var numUsedLicenses: NSNumber { get }
  • (no description).

    Declaration

    Objective-C

    @property (nonatomic, readonly) DBTEAMPOLICIESTeamMemberPolicies *_Nonnull policies;

    Swift

    var policies: DBTEAMPOLICIESTeamMemberPolicies { get }

Constructors

  • Full constructor for the struct (exposes all instance variables).

    Declaration

    Objective-C

    - (nonnull instancetype)
               initWithName:(nonnull NSString *)name
                     teamId:(nonnull NSString *)teamId
           numLicensedUsers:(nonnull NSNumber *)numLicensedUsers
        numProvisionedUsers:(nonnull NSNumber *)numProvisionedUsers
            numUsedLicenses:(nonnull NSNumber *)numUsedLicenses
                   policies:(nonnull DBTEAMPOLICIESTeamMemberPolicies *)policies;

    Swift

    init(name: String, teamId: String, numLicensedUsers: NSNumber, numProvisionedUsers: NSNumber, numUsedLicenses: NSNumber, policies: DBTEAMPOLICIESTeamMemberPolicies)

    Parameters

    name

    The name of the team.

    teamId

    The ID of the team.

    numLicensedUsers

    The number of licenses available to the team.

    numProvisionedUsers

    The number of accounts that have been invited or are already active members of the team.

    numUsedLicenses

    The number of licenses used on the team.

    policies

    (no description).

    Return Value

    An initialized instance.