1 | <?php |
||
50 | class CircleMemberEditedEvent extends CircleResultGenericEvent { |
||
51 | |||
52 | |||
53 | /** @var int */ |
||
54 | private $type = 0; |
||
55 | |||
56 | /** @var int */ |
||
57 | private $newLevel = 0; |
||
58 | |||
59 | /** @var string */ |
||
60 | private $newDisplayName = ''; |
||
61 | |||
62 | |||
63 | /** |
||
64 | * CircleMemberEditedEvent constructor. |
||
65 | * |
||
66 | * @param FederatedEvent $federatedEvent |
||
67 | * @param array $results |
||
68 | */ |
||
69 | public function __construct(FederatedEvent $federatedEvent, array $results) { |
||
72 | |||
73 | /** |
||
74 | * @param int $type |
||
75 | * |
||
76 | * @return $this |
||
77 | */ |
||
78 | public function setType(int $type): self { |
||
83 | |||
84 | /** |
||
85 | * @return int |
||
86 | */ |
||
87 | public function getType(): int { |
||
90 | |||
91 | |||
92 | /** |
||
93 | * @param int $newLevel |
||
94 | * |
||
95 | * @return CircleMemberEditedEvent |
||
96 | */ |
||
97 | public function setNewLevel(int $newLevel): self { |
||
102 | |||
103 | /** |
||
104 | * @return int |
||
105 | */ |
||
106 | public function getNewLevel(): int { |
||
109 | |||
110 | |||
111 | /** |
||
112 | * @param string $newDisplayName |
||
113 | * |
||
114 | * @return CircleMemberEditedEvent |
||
115 | */ |
||
116 | public function setNewDisplayName(string $newDisplayName): self { |
||
121 | |||
122 | /** |
||
123 | * @return string |
||
124 | */ |
||
125 | public function getNewDisplayName(): string { |
||
128 | |||
129 | } |
||
130 | |||
131 |