(self)
| 30 | self.name = team['name'] |
| 31 | |
| 32 | def display(self): |
| 33 | print('') |
| 34 | print('{0:>20s}: {1:<20s}'.format('Team UID',self.team_uid)) |
| 35 | print('{0:>20s}: {1}'.format('Name',self.name)) |
| 36 | print('{0:>20s}: {1}'.format('Restrict Edit',self.restrict_edit)) |
| 37 | print('{0:>20s}: {1}'.format('Restrict View',self.restrict_view)) |
| 38 | print('{0:>20s}: {1}'.format('Restrict Share',self.restrict_share)) |
| 39 | print('') |
| 40 | |
| 41 | def to_string(self): |
| 42 | target = self.team_uid + str(self.restrict_edit) + str(self.restrict_view) |