001// Generated by delombok at Fri Oct 09 16:27:16 CEST 2020
002/*
003 * Copyright (c) 2010-2020 Mark Allen, Norbert Bartels.
004 *
005 * Permission is hereby granted, free of charge, to any person obtaining a copy
006 * of this software and associated documentation files (the "Software"), to deal
007 * in the Software without restriction, including without limitation the rights
008 * to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
009 * copies of the Software, and to permit persons to whom the Software is
010 * furnished to do so, subject to the following conditions:
011 *
012 * The above copyright notice and this permission notice shall be included in
013 * all copies or substantial portions of the Software.
014 *
015 * THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
016 * IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
017 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
018 * AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
019 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
020 * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
021 * THE SOFTWARE.
022 */
023package com.restfb.types;
024
025import static com.restfb.util.DateUtils.toDateFromLongFormat;
026import static com.restfb.util.DateUtils.toDateFromShortFormat;
027import static java.util.Collections.unmodifiableList;
028import java.util.ArrayList;
029import java.util.Date;
030import java.util.List;
031import com.restfb.Facebook;
032import com.restfb.JsonMapper;
033import com.restfb.JsonMapper.JsonMappingCompleted;
034import com.restfb.annotation.GraphAPI;
035import com.restfb.types.features.HasCover;
036import com.restfb.types.features.HasProfilePicture;
037
038/**
039 * Represents the <a href="http://developers.facebook.com/docs/reference/api/event">Event Graph API type</a>.
040 * 
041 * @author <a href="http://restfb.com">Mark Allen</a>
042 * @since 1.5
043 */
044public class Event extends NamedFacebookType implements HasProfilePicture, HasCover {
045  /**
046   * The user who owns the event.
047   */
048  @Facebook
049  private Owner owner;
050  /**
051   * The category of the event.
052   */
053  @Facebook
054  @GraphAPI(since = "2.4")
055  private String category;
056  /**
057   * Can guests invite friends.
058   */
059  @Facebook("can_guests_invite")
060  private Boolean canGuestsInvite;
061  /**
062   * Can see guest list.
063   */
064  @Facebook("guest_list_enabled")
065  private Boolean guestListEnabled;
066  /**
067   * The long-form HTML description of the event.
068   */
069  @Facebook
070  private String description;
071  @Facebook("start_time")
072  private transient String rawStartTime;
073  @Facebook("end_time")
074  private transient String rawEndTime;
075  /**
076   * The start time of the event.
077   */
078  private Date startTime;
079  /**
080   * The end time of the event.
081   */
082  private Date endTime;
083  /**
084   * The location for this event, a string name.
085   * 
086   * @deprecated with API version 2.3, use <code>place</code> field instead
087   */
088  @Facebook
089  @GraphAPI(until = "2.2")
090  @Deprecated
091  private String location;
092  /**
093   * Whether or not the event has been marked as canceled
094   */
095  @Facebook("is_canceled")
096  private Boolean isCanceled;
097  /**
098   * The RSVP status of this event.
099   */
100  @Facebook("rsvp_status")
101  private String rsvpStatus;
102  /**
103   * A list of locations of this event.
104   *
105   * This may happen in some strange case - see issue #XXX on GitHub
106   *
107   * @deprecated with API version 2.3, use {@link Event#getPlace()} instead
108   */
109  @Facebook("venue")
110  @Deprecated
111  @GraphAPI(until = "2.2")
112  private List<Location> venueList;
113  /**
114   * The location of this event, a structured address object.
115   * 
116   * @deprecated with API version 2.3, use {@link Event#getPlace()} field instead
117   */
118  @Facebook
119  @GraphAPI(until = "2.2")
120  @Deprecated
121  private Location venue;
122  /**
123   * Number of people interested in the event.
124   */
125  @Facebook("interested_count")
126  @GraphAPI(since = "2.1")
127  private Long interestedCount;
128  /**
129   * Whether the event is created by page or not.
130   */
131  @Facebook("is_page_owned")
132  private Boolean isPageOwned;
133  /**
134   * Whether the viewer is admin or not.
135   *
136   * @deprecated since January 30, 2018
137   */
138  @Deprecated
139  @Facebook("is_viewer_admin")
140  private Boolean isViewerAdmin;
141  /**
142   * The visibility of this event. Can be 'OPEN', 'CLOSED', or 'SECRET'.
143   */
144  @Facebook
145  private String privacy;
146  /**
147   * The last time the event was updated.
148   */
149  @Facebook("updated_time")
150  private Date updatedTime;
151  /**
152   * The URL to a location to buy tickets for this event (on Events for Pages only).
153   *
154   * @since 1.6.13
155   */
156  @Facebook("ticket_uri")
157  private String ticketUri;
158  /**
159   * The event's picture.
160   *
161   *         ?fields=id,name,picture)
162   * @since 1.6.13
163   */
164  private ProfilePictureSource picture;
165  @Facebook("picture")
166  private transient String rawPicture;
167  /**
168   * The group the event belongs to, if any.
169   */
170  @Facebook("parent_group")
171  private Group parentGroup;
172  /**
173   * Location associated with the event, if any.
174   */
175  @Facebook
176  @GraphAPI(since = "2.3")
177  private Place place;
178  /**
179   * Should the time information be ignored in the dates for this event?
180   *
181   * @since 1.6.13
182   */
183  @Facebook("is_date_only")
184  private Boolean isDateOnly;
185  /**
186   * the timezone of the event
187   */
188  @Facebook
189  private String timezone;
190  /**
191   * Cover picture
192   */
193  @Facebook
194  private CoverPhoto cover;
195  /**
196   * Number of people attending the event
197   */
198  @Facebook("attending_count")
199  @GraphAPI(since = "2.1")
200  private Integer attendingCount;
201  /**
202   * Number of people who declined the event
203   */
204  @Facebook("declined_count")
205  @GraphAPI(since = "2.1")
206  private Integer declinedCount;
207  /**
208   * Number of people who maybe going to the event
209   */
210  @Facebook("maybe_count")
211  @GraphAPI(since = "2.1")
212  private Integer maybeCount;
213  /**
214   * Number of people who did not reply to the event
215   */
216  @Facebook("noreply_count")
217  @GraphAPI(since = "2.1")
218  private Integer noreplyCount;
219  private static final long serialVersionUID = 2L;
220
221
222  /**
223   * Represents the <a href="http://developers.facebook.com/docs/reference/api/event">Event Owner Graph API type</a>.
224   * 
225   * @author <a href="http://restfb.com">Mark Allen</a>
226   * @since 1.6.13
227   */
228  public static class Owner extends AbstractFacebookType {
229    /**
230     * The unique identifier for this owner.
231     */
232    @Facebook
233    private String id;
234    /**
235     * The name of this owner.
236     */
237    @Facebook
238    private String name;
239    /**
240     * The category for this owner.
241     */
242    @Facebook
243    private String category;
244    @Facebook("category_list")
245    private List<Category> categoryList = new ArrayList<>();
246    private static final long serialVersionUID = 1L;
247
248    public boolean addCategory(Category category) {
249      return categoryList.add(category);
250    }
251
252    public boolean removeCategory(Category category) {
253      return categoryList.remove(category);
254    }
255
256    /**
257     * List of other categories for this owner.
258     * 
259     * @return List of other categories for this owner.
260     */
261    public List<Category> getCategoryList() {
262      return unmodifiableList(categoryList);
263    }
264
265    /**
266     * The unique identifier for this owner.
267     * 
268     * @return The unique identifier for this owner.
269     */
270    @java.lang.SuppressWarnings("all")
271    public String getId() {
272      return this.id;
273    }
274
275    /**
276     * The unique identifier for this owner.
277     */
278    @java.lang.SuppressWarnings("all")
279    public void setId(final String id) {
280      this.id = id;
281    }
282
283    /**
284     * The name of this owner.
285     * 
286     * @return The name of this owner.
287     */
288    @java.lang.SuppressWarnings("all")
289    public String getName() {
290      return this.name;
291    }
292
293    /**
294     * The name of this owner.
295     */
296    @java.lang.SuppressWarnings("all")
297    public void setName(final String name) {
298      this.name = name;
299    }
300
301    /**
302     * The category for this owner.
303     * 
304     * @return The category for this owner.
305     */
306    @java.lang.SuppressWarnings("all")
307    public String getCategory() {
308      return this.category;
309    }
310
311    /**
312     * The category for this owner.
313     */
314    @java.lang.SuppressWarnings("all")
315    public void setCategory(final String category) {
316      this.category = category;
317    }
318  }
319
320
321  /**
322   * Represents the <a href="http://developers.facebook.com/docs/reference/api/event">Event Owner Category Graph API
323   * type</a>.
324   * 
325   * @author <a href="http://restfb.com">Mark Allen</a>
326   * @since 1.6.13
327   */
328  public static class Category extends AbstractFacebookType {
329    /**
330     * The unique identifier for this category.
331     */
332    @Facebook
333    private String id;
334    /**
335     * The name of this category.
336     */
337    @Facebook
338    private String name;
339    private static final long serialVersionUID = 1L;
340
341    /**
342     * The unique identifier for this category.
343     * 
344     * @return The unique identifier for this category.
345     */
346    @java.lang.SuppressWarnings("all")
347    public String getId() {
348      return this.id;
349    }
350
351    /**
352     * The unique identifier for this category.
353     */
354    @java.lang.SuppressWarnings("all")
355    public void setId(final String id) {
356      this.id = id;
357    }
358
359    /**
360     * The name of this category.
361     * 
362     * @return The name of this category.
363     */
364    @java.lang.SuppressWarnings("all")
365    public String getName() {
366      return this.name;
367    }
368
369    /**
370     * The name of this category.
371     */
372    @java.lang.SuppressWarnings("all")
373    public void setName(final String name) {
374      this.name = name;
375    }
376  }
377
378  @JsonMappingCompleted
379  void convertTime() {
380    // Sometimes the date comes back in short form - if long form parsing
381    // failed, try short instead
382    Date dateEnd = toDateFromLongFormat(rawEndTime);
383    endTime = dateEnd == null ? toDateFromShortFormat(rawEndTime) : dateEnd;
384    Date dateStart = toDateFromLongFormat(rawStartTime);
385    startTime = dateStart == null ? toDateFromShortFormat(rawStartTime) : dateStart;
386  }
387
388  @JsonMappingCompleted
389  protected void fillProfilePicture(JsonMapper jsonMapper) {
390    picture = convertPicture(jsonMapper, rawPicture);
391  }
392
393  /**
394   * The user who owns the event.
395   * 
396   * @return The user who owns the event.
397   */
398  @java.lang.SuppressWarnings("all")
399  public Owner getOwner() {
400    return this.owner;
401  }
402
403  /**
404   * The user who owns the event.
405   */
406  @java.lang.SuppressWarnings("all")
407  public void setOwner(final Owner owner) {
408    this.owner = owner;
409  }
410
411  /**
412   * The category of the event.
413   *
414   * @return The category of the event
415   */
416  @GraphAPI(since = "2.4")
417  @java.lang.SuppressWarnings("all")
418  public String getCategory() {
419    return this.category;
420  }
421
422  /**
423   * The category of the event.
424   */
425  @java.lang.SuppressWarnings("all")
426  public void setCategory(final String category) {
427    this.category = category;
428  }
429
430  /**
431   * Can guests invite friends.
432   *
433   * @return Can guests invite friends
434   */
435  @java.lang.SuppressWarnings("all")
436  public Boolean getCanGuestsInvite() {
437    return this.canGuestsInvite;
438  }
439
440  /**
441   * Can guests invite friends.
442   */
443  @java.lang.SuppressWarnings("all")
444  public void setCanGuestsInvite(final Boolean canGuestsInvite) {
445    this.canGuestsInvite = canGuestsInvite;
446  }
447
448  /**
449   * Can see guest list.
450   *
451   * @return Can see guest list
452   */
453  @java.lang.SuppressWarnings("all")
454  public Boolean getGuestListEnabled() {
455    return this.guestListEnabled;
456  }
457
458  /**
459   * Can see guest list.
460   */
461  @java.lang.SuppressWarnings("all")
462  public void setGuestListEnabled(final Boolean guestListEnabled) {
463    this.guestListEnabled = guestListEnabled;
464  }
465
466  /**
467   * The long-form HTML description of the event.
468   * 
469   * @return The long-form HTML description of the event.
470   */
471  @java.lang.SuppressWarnings("all")
472  public String getDescription() {
473    return this.description;
474  }
475
476  /**
477   * The long-form HTML description of the event.
478   */
479  @java.lang.SuppressWarnings("all")
480  public void setDescription(final String description) {
481    this.description = description;
482  }
483
484  /**
485   * The start time of the event.
486   * 
487   * @return The start time of the event.
488   */
489  @java.lang.SuppressWarnings("all")
490  public Date getStartTime() {
491    return this.startTime;
492  }
493
494  /**
495   * The start time of the event.
496   */
497  @java.lang.SuppressWarnings("all")
498  public void setStartTime(final Date startTime) {
499    this.startTime = startTime;
500  }
501
502  /**
503   * The end time of the event.
504   * 
505   * @return The end time of the event.
506   */
507  @java.lang.SuppressWarnings("all")
508  public Date getEndTime() {
509    return this.endTime;
510  }
511
512  /**
513   * The end time of the event.
514   */
515  @java.lang.SuppressWarnings("all")
516  public void setEndTime(final Date endTime) {
517    this.endTime = endTime;
518  }
519
520  /**
521   * The location for this event, a string name.
522   * 
523   * @deprecated with API version 2.3, use <code>place</code> field instead
524   * 
525   * @return The location for this event, a string name.
526   */
527  @java.lang.Deprecated
528  @GraphAPI(until = "2.2")
529  @java.lang.SuppressWarnings("all")
530  public String getLocation() {
531    return this.location;
532  }
533
534  /**
535   * The location for this event, a string name.
536   * 
537   * @deprecated with API version 2.3, use <code>place</code> field instead
538   */
539  @java.lang.Deprecated
540  @java.lang.SuppressWarnings("all")
541  public void setLocation(final String location) {
542    this.location = location;
543  }
544
545  /**
546   * Whether or not the event has been marked as canceled
547   *
548   * @return Whether or not the event has been marked as canceled
549   */
550  @java.lang.SuppressWarnings("all")
551  public Boolean getIsCanceled() {
552    return this.isCanceled;
553  }
554
555  /**
556   * Whether or not the event has been marked as canceled
557   */
558  @java.lang.SuppressWarnings("all")
559  public void setIsCanceled(final Boolean isCanceled) {
560    this.isCanceled = isCanceled;
561  }
562
563  /**
564   * The RSVP status of this event.
565   * 
566   * @return The RSVP status of this event.
567   */
568  @java.lang.SuppressWarnings("all")
569  public String getRsvpStatus() {
570    return this.rsvpStatus;
571  }
572
573  /**
574   * The RSVP status of this event.
575   */
576  @java.lang.SuppressWarnings("all")
577  public void setRsvpStatus(final String rsvpStatus) {
578    this.rsvpStatus = rsvpStatus;
579  }
580
581  /**
582   * A list of locations of this event.
583   *
584   * This may happen in some strange case - see issue #XXX on GitHub
585   *
586   * @deprecated with API version 2.3, use {@link Event#getPlace()} instead
587   * @return A list of locations of the event.
588   */
589  @java.lang.Deprecated
590  @GraphAPI(until = "2.2")
591  @java.lang.SuppressWarnings("all")
592  public List<Location> getVenueList() {
593    return this.venueList;
594  }
595
596  /**
597   * A list of locations of this event.
598   *
599   * This may happen in some strange case - see issue #XXX on GitHub
600   *
601   * @deprecated with API version 2.3, use {@link Event#getPlace()} instead
602   */
603  @java.lang.Deprecated
604  @java.lang.SuppressWarnings("all")
605  public void setVenueList(final List<Location> venueList) {
606    this.venueList = venueList;
607  }
608
609  /**
610   * The location of this event, a structured address object.
611   * 
612   * @deprecated with API version 2.3, use {@link Event#getPlace()} field instead
613   * @return The location of this event, a structured address object.
614   */
615  @java.lang.Deprecated
616  @GraphAPI(until = "2.2")
617  @java.lang.SuppressWarnings("all")
618  public Location getVenue() {
619    return this.venue;
620  }
621
622  /**
623   * The location of this event, a structured address object.
624   * 
625   * @deprecated with API version 2.3, use {@link Event#getPlace()} field instead
626   */
627  @java.lang.Deprecated
628  @java.lang.SuppressWarnings("all")
629  public void setVenue(final Location venue) {
630    this.venue = venue;
631  }
632
633  /**
634   * Number of people interested in the event.
635   *
636   * @return Number of people interested in the event
637   */
638  @GraphAPI(since = "2.1")
639  @java.lang.SuppressWarnings("all")
640  public Long getInterestedCount() {
641    return this.interestedCount;
642  }
643
644  /**
645   * Number of people interested in the event.
646   */
647  @java.lang.SuppressWarnings("all")
648  public void setInterestedCount(final Long interestedCount) {
649    this.interestedCount = interestedCount;
650  }
651
652  /**
653   * Whether the event is created by page or not.
654   *
655   * @return Whether the event is created by page or not
656   */
657  @java.lang.SuppressWarnings("all")
658  public Boolean getIsPageOwned() {
659    return this.isPageOwned;
660  }
661
662  /**
663   * Whether the event is created by page or not.
664   */
665  @java.lang.SuppressWarnings("all")
666  public void setIsPageOwned(final Boolean isPageOwned) {
667    this.isPageOwned = isPageOwned;
668  }
669
670  /**
671   * Whether the viewer is admin or not.
672   *
673   * @deprecated since January 30, 2018
674   *
675   * @return Whether the viewer is admin or not
676   */
677  @java.lang.Deprecated
678  @java.lang.SuppressWarnings("all")
679  public Boolean getIsViewerAdmin() {
680    return this.isViewerAdmin;
681  }
682
683  /**
684   * Whether the viewer is admin or not.
685   *
686   * @deprecated since January 30, 2018
687   */
688  @java.lang.Deprecated
689  @java.lang.SuppressWarnings("all")
690  public void setIsViewerAdmin(final Boolean isViewerAdmin) {
691    this.isViewerAdmin = isViewerAdmin;
692  }
693
694  /**
695   * The visibility of this event. Can be 'OPEN', 'CLOSED', or 'SECRET'.
696   * 
697   * @return The visibility of this event. Can be 'OPEN', 'CLOSED', or 'SECRET'.
698   */
699  @java.lang.SuppressWarnings("all")
700  public String getPrivacy() {
701    return this.privacy;
702  }
703
704  /**
705   * The visibility of this event. Can be 'OPEN', 'CLOSED', or 'SECRET'.
706   */
707  @java.lang.SuppressWarnings("all")
708  public void setPrivacy(final String privacy) {
709    this.privacy = privacy;
710  }
711
712  /**
713   * The last time the event was updated.
714   * 
715   * @return The last time the event was updated.
716   */
717  @java.lang.SuppressWarnings("all")
718  public Date getUpdatedTime() {
719    return this.updatedTime;
720  }
721
722  /**
723   * The last time the event was updated.
724   */
725  @java.lang.SuppressWarnings("all")
726  public void setUpdatedTime(final Date updatedTime) {
727    this.updatedTime = updatedTime;
728  }
729
730  /**
731   * The URL to a location to buy tickets for this event (on Events for Pages only).
732   * 
733   * @return The URL to a location to buy tickets for this event (on Events for Pages only).
734   * @since 1.6.13
735   */
736  @java.lang.SuppressWarnings("all")
737  public String getTicketUri() {
738    return this.ticketUri;
739  }
740
741  /**
742   * The URL to a location to buy tickets for this event (on Events for Pages only).
743   *
744   * @since 1.6.13
745   */
746  @java.lang.SuppressWarnings("all")
747  public void setTicketUri(final String ticketUri) {
748    this.ticketUri = ticketUri;
749  }
750
751  /**
752   * The event's picture.
753   * 
754   * @return The event's picture (only returned if you explicitly include picture in the fields param; example:
755   *         ?fields=id,name,picture)
756   * @since 1.6.13
757   */
758  @Override
759  @java.lang.SuppressWarnings("all")
760  public ProfilePictureSource getPicture() {
761    return this.picture;
762  }
763
764  /**
765   * The event's picture.
766   *
767   *         ?fields=id,name,picture)
768   * @since 1.6.13
769   */
770  @java.lang.SuppressWarnings("all")
771  public void setPicture(final ProfilePictureSource picture) {
772    this.picture = picture;
773  }
774
775  /**
776   * The group the event belongs to, if any.
777   * 
778   * @return The group the event belongs to, if any.
779   */
780  @java.lang.SuppressWarnings("all")
781  public Group getParentGroup() {
782    return this.parentGroup;
783  }
784
785  /**
786   * The group the event belongs to, if any.
787   */
788  @java.lang.SuppressWarnings("all")
789  public void setParentGroup(final Group parentGroup) {
790    this.parentGroup = parentGroup;
791  }
792
793  /**
794   * Location associated with the event, if any.
795   *
796   * @return Location associated with the event, if any
797   */
798  @GraphAPI(since = "2.3")
799  @java.lang.SuppressWarnings("all")
800  public Place getPlace() {
801    return this.place;
802  }
803
804  /**
805   * Location associated with the event, if any.
806   */
807  @java.lang.SuppressWarnings("all")
808  public void setPlace(final Place place) {
809    this.place = place;
810  }
811
812  /**
813   * Should the time information be ignored in the dates for this event?
814   * 
815   * @return <tt>true</tt> if the time information be ignored in the dates for this event, <tt>false</tt> otherwise.
816   * @since 1.6.13
817   */
818  @java.lang.SuppressWarnings("all")
819  public Boolean getIsDateOnly() {
820    return this.isDateOnly;
821  }
822
823  /**
824   * Should the time information be ignored in the dates for this event?
825   *
826   * @since 1.6.13
827   */
828  @java.lang.SuppressWarnings("all")
829  public void setIsDateOnly(final Boolean isDateOnly) {
830    this.isDateOnly = isDateOnly;
831  }
832
833  /**
834   * the timezone of the event
835   */
836  @java.lang.SuppressWarnings("all")
837  public String getTimezone() {
838    return this.timezone;
839  }
840
841  /**
842   * the timezone of the event
843   */
844  @java.lang.SuppressWarnings("all")
845  public void setTimezone(final String timezone) {
846    this.timezone = timezone;
847  }
848
849  /**
850   * Cover picture
851   *
852   * @return Cover picture
853   */
854  @Override
855  @java.lang.SuppressWarnings("all")
856  public CoverPhoto getCover() {
857    return this.cover;
858  }
859
860  /**
861   * Cover picture
862   */
863  @java.lang.SuppressWarnings("all")
864  public void setCover(final CoverPhoto cover) {
865    this.cover = cover;
866  }
867
868  /**
869   * Number of people attending the event
870   *
871   * @return Number of people attending the event
872   */
873  @GraphAPI(since = "2.1")
874  @java.lang.SuppressWarnings("all")
875  public Integer getAttendingCount() {
876    return this.attendingCount;
877  }
878
879  /**
880   * Number of people attending the event
881   */
882  @java.lang.SuppressWarnings("all")
883  public void setAttendingCount(final Integer attendingCount) {
884    this.attendingCount = attendingCount;
885  }
886
887  /**
888   * Number of people who declined the event
889   *
890   * @return Number of people who declined the event
891   */
892  @GraphAPI(since = "2.1")
893  @java.lang.SuppressWarnings("all")
894  public Integer getDeclinedCount() {
895    return this.declinedCount;
896  }
897
898  /**
899   * Number of people who declined the event
900   */
901  @java.lang.SuppressWarnings("all")
902  public void setDeclinedCount(final Integer declinedCount) {
903    this.declinedCount = declinedCount;
904  }
905
906  /**
907   * Number of people who maybe going to the event
908   *
909   * @return Number of people who maybe going to the event
910   */
911  @GraphAPI(since = "2.1")
912  @java.lang.SuppressWarnings("all")
913  public Integer getMaybeCount() {
914    return this.maybeCount;
915  }
916
917  /**
918   * Number of people who maybe going to the event
919   */
920  @java.lang.SuppressWarnings("all")
921  public void setMaybeCount(final Integer maybeCount) {
922    this.maybeCount = maybeCount;
923  }
924
925  /**
926   * Number of people who did not reply to the event
927   *
928   * @return Number of people who did not reply to the event
929   */
930  @GraphAPI(since = "2.1")
931  @java.lang.SuppressWarnings("all")
932  public Integer getNoreplyCount() {
933    return this.noreplyCount;
934  }
935
936  /**
937   * Number of people who did not reply to the event
938   */
939  @java.lang.SuppressWarnings("all")
940  public void setNoreplyCount(final Integer noreplyCount) {
941    this.noreplyCount = noreplyCount;
942  }
943}