TTRole Class Reference

Inherits from TTUser : TTParty : NSManagedObject
Declared in TTRole.h

  isOptingOut

A BOOL value indicating whether there is a user in the process of opting out of the role.

@property (nullable, nonatomic, retain) NSNumber *isOptingOut

Declared In

TTRole.h

  ownerRequired

BOOL that indicates if this role can ever be without an owner.

@property (nullable, nonatomic, retain) NSNumber *ownerRequired

Declared In

TTRole.h

  locked

BOOL that indicates whether the role can be assigned to anyone.

@property (nullable, nonatomic, retain) NSNumber *locked

Discussion

When a role is not locked, it can be assigned to anyone.

Declared In

TTRole.h

  replayHistory

BOOL value indicating whether to show role history when user opts into the role.

@property (nullable, nonatomic, retain) NSNumber *replayHistory

Declared In

TTRole.h

  roleDescription

Description of role.

@property (nullable, nonatomic, retain) NSString *roleDescription

Declared In

TTRole.h

  awayStatus

Automated response set for the role.

@property (nullable, nonatomic, retain) NSString *awayStatus

Declared In

TTRole.h

  saved

BOOL value indicating whether this role has been added to “Saved Roles” for a user.

@property (nullable, nonatomic, retain) NSNumber *saved

Declared In

TTRole.h

  messages

Set of messages associated with this role.

@property (nullable, nonatomic, retain) NSSet<TTMessage*> *messages

Declared In

TTRole.h

  messageStatus

Set of message statuses of the messages that are associated with this role.

@property (nullable, nonatomic, retain) NSSet<TTMessageStatus*> *messageStatus

Declared In

TTRole.h

  owners

Set of owners of this role.

@property (nullable, nonatomic, retain) NSSet<TTUser*> *owners

Discussion

Note: Currently owners set only contains a max of one user.

Declared In

TTRole.h

  tag

Role tag that can be used to filter in a list of roles.

@property (nullable, nonatomic, retain) TTTag *tag

Declared In

TTRole.h

  escalationPolicy

Escalation policy associated with this role.

@property (nullable, nonatomic, retain) TTEscalationPolicy *escalationPolicy

Declared In

TTRole.h

  roleShifts

Shifts associated with this role.

@property (nullable, nonatomic, retain) NSSet<TTShift*> *roleShifts

Declared In

TTRole.h

  escalationOriginalTarget

Inverse relationship to TTEscalation’s originalTarget.

@property (nullable, nonatomic, retain) TTEscalation *escalationOriginalTarget

Discussion

This is only not empty when role is set to be the original target in an escalation event.

Declared In

TTRole.h

  callLogCallerProxy

@property (nullable, nonatomic, retain) NSSet<TTCallLog*> *callLogCallerProxy

  callLogTargetProxy

@property (nullable, nonatomic, retain) NSSet<TTCallLog*> *callLogTargetProxy