Skip to content

Commit b1d088e

Browse files
authored
Add hide participant field to events (#103)
# Description This PR adds support for the hide participant field # License <!-- Your PR comment must contain the following line for us to merge the PR. --> I confirm that this contribution is made under the terms of the MIT license and that I have the authority necessary to make this contribution on behalf of its copyright owner.
1 parent 40e78ed commit b1d088e

2 files changed

Lines changed: 11 additions & 0 deletions

File tree

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ This section contains changes that have been committed but not yet released.
66

77
### Added
88

9+
* Added hide participants field for the `Event` class
910
* Added support for provider detection
1011
* Added an enum for all known providers for native authentication
1112
* Improved webhook notification support with the addition of more notification attributes and event metadata fields

src/main/java/com/nylas/Event.java

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,7 @@ public class Event extends AccountOwnedModel implements JsonObject {
3131
private Integer capacity;
3232
private Boolean read_only;
3333
private Boolean busy;
34+
private Boolean hide_participant;
3435
private Long original_start_time;
3536
private When when;
3637
private Conferencing conferencing;
@@ -122,6 +123,10 @@ public Boolean getBusy() {
122123
return busy;
123124
}
124125

126+
public Boolean getHideParticipant() {
127+
return hide_participant;
128+
}
129+
125130
public Map<String, String> getMetadata() {
126131
return metadata;
127132
}
@@ -174,6 +179,7 @@ public String toString() {
174179
", capacity=" + capacity +
175180
", read_only=" + read_only +
176181
", busy=" + busy +
182+
", hide_participant=" + hide_participant +
177183
", original_start_time=" + getOriginalStartTime() +
178184
", when=" + when +
179185
", conferencing=" + conferencing +
@@ -230,6 +236,10 @@ public void setBusy(Boolean busy) {
230236
this.modifiedFields.put("busy", this.busy);
231237
}
232238

239+
public void setHideParticipant(Boolean hideParticipant) {
240+
this.hide_participant = hideParticipant;
241+
}
242+
233243
public void setMetadata(Map<String, String> metadata) {
234244
this.metadata = metadata;
235245
this.modifiedFields.put("metadata", this.metadata);

0 commit comments

Comments
 (0)