001// Generated by delombok at Sun Jul 07 22:01:31 CEST 2019
002/**
003 * Copyright (c) 2010-2019 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.util.MappingUtils;
036
037/**
038 * Represents the <a href="http://developers.facebook.com/docs/reference/api/event">Event Graph API type</a>.
039 * 
040 * @author <a href="http://restfb.com">Mark Allen</a>
041 * @since 1.5
042 */
043public class Event extends NamedFacebookType {
044  /**
045   * The user who owns the event.
046   */
047  @Facebook
048  private Owner owner;
049  /**
050   * The category of the event.
051   */
052  @Facebook
053  @GraphAPI(since = "2.4")
054  private String category;
055  /**
056   * Can guests invite friends.
057   */
058  @Facebook("can_guests_invite")
059  private Boolean canGuestsInvite;
060  /**
061   * Can see guest list.
062   */
063  @Facebook("guest_list_enabled")
064  private Boolean guestListEnabled;
065  /**
066   * The long-form HTML description of the event.
067   */
068  @Facebook
069  private String description;
070  @Facebook("start_time")
071  private transient String rawStartTime;
072  @Facebook("end_time")
073  private transient String rawEndTime;
074  /**
075   * The start time of the event.
076   */
077  private Date startTime;
078  /**
079   * The end time of the event.
080   */
081  private Date endTime;
082  /**
083   * The location for this event, a string name.
084   * 
085   * @deprecated with API version 2.3, use <code>place</code> field instead
086   */
087  @Facebook
088  @GraphAPI(until = "2.2")
089  @Deprecated
090  private String location;
091  /**
092   * Whether or not the event has been marked as canceled
093   */
094  @Facebook("is_canceled")
095  private Boolean isCanceled;
096  /**
097   * The RSVP status of this event.
098   */
099  @Facebook("rsvp_status")
100  private String rsvpStatus;
101  /**
102   * A list of locations of this event.
103   *
104   * This may happen in some strange case - see issue #XXX on GitHub
105   *
106   * @deprecated with API version 2.3, use {@link Event#getPlace()} instead
107   */
108  @Facebook("venue")
109  @Deprecated
110  @GraphAPI(until = "2.2")
111  private List<Location> venueList;
112  /**
113   * The location of this event, a structured address object.
114   * 
115   * @deprecated with API version 2.3, use {@link Event#getPlace()} field instead
116   */
117  @Facebook
118  @GraphAPI(until = "2.2")
119  @Deprecated
120  private Location venue;
121  /**
122   * Number of people interested in the event.
123   */
124  @Facebook("interested_count")
125  @GraphAPI(since = "2.1")
126  private Long interestedCount;
127  /**
128   * Whether the event is created by page or not.
129   */
130  @Facebook("is_page_owned")
131  private Boolean isPageOwned;
132  /**
133   * Whether the viewer is admin or not.
134   *
135   * @deprecated since January 30, 2018
136   */
137  @Deprecated
138  @Facebook("is_viewer_admin")
139  private Boolean isViewerAdmin;
140  /**
141   * The visibility of this event. Can be 'OPEN', 'CLOSED', or 'SECRET'.
142   */
143  @Facebook
144  private String privacy;
145  /**
146   * The last time the event was updated.
147   */
148  @Facebook("updated_time")
149  private Date updatedTime;
150  /**
151   * The URL to a location to buy tickets for this event (on Events for Pages only).
152   *
153   * @since 1.6.13
154   */
155  @Facebook("ticket_uri")
156  private String ticketUri;
157  /**
158   * The event's picture.
159   *
160   *         ?fields=id,name,picture)
161   * @since 1.6.13
162   */
163  private ProfilePictureSource picture;
164  @Facebook("picture")
165  private transient String rawPicture;
166  /**
167   * The group the event belongs to, if any.
168   */
169  @Facebook("parent_group")
170  private Group parentGroup;
171  /**
172   * Location associated with the event, if any.
173   */
174  @Facebook
175  @GraphAPI(since = "2.3")
176  private Place place;
177  /**
178   * Should the time information be ignored in the dates for this event?
179   *
180   * @since 1.6.13
181   */
182  @Facebook("is_date_only")
183  private Boolean isDateOnly;
184  /**
185   * the timezone of the event
186   */
187  @Facebook
188  private String timezone;
189  /**
190   * Cover picture
191   */
192  @Facebook
193  private CoverPhoto cover;
194  /**
195   * Number of people attending the event
196   */
197  @Facebook("attending_count")
198  @GraphAPI(since = "2.1")
199  private Integer attendingCount;
200  /**
201   * Number of people who declined the event
202   */
203  @Facebook("declined_count")
204  @GraphAPI(since = "2.1")
205  private Integer declinedCount;
206  /**
207   * Number of people who maybe going to the event
208   */
209  @Facebook("maybe_count")
210  @GraphAPI(since = "2.1")
211  private Integer maybeCount;
212  /**
213   * Number of people who did not reply to the event
214   */
215  @Facebook("noreply_count")
216  @GraphAPI(since = "2.1")
217  private Integer noreplyCount;
218  private static final long serialVersionUID = 2L;
219
220
221  /**
222   * Represents the <a href="http://developers.facebook.com/docs/reference/api/event">Event Owner Graph API type</a>.
223   * 
224   * @author <a href="http://restfb.com">Mark Allen</a>
225   * @since 1.6.13
226   */
227  public static class Owner extends AbstractFacebookType {
228    /**
229     * The unique identifier for this owner.
230     */
231    @Facebook
232    private String id;
233    /**
234     * The name of this owner.
235     */
236    @Facebook
237    private String name;
238    /**
239     * The category for this owner.
240     */
241    @Facebook
242    private String category;
243    @Facebook("category_list")
244    private List<Category> categoryList = new ArrayList<>();
245    private static final long serialVersionUID = 1L;
246
247    public boolean addCategory(Category category) {
248      return categoryList.add(category);
249    }
250
251    public boolean removeCategory(Category category) {
252      return categoryList.remove(category);
253    }
254
255    /**
256     * List of other categories for this owner.
257     * 
258     * @return List of other categories for this owner.
259     */
260    public List<Category> getCategoryList() {
261      return unmodifiableList(categoryList);
262    }
263
264    /**
265     * The unique identifier for this owner.
266     * 
267     * @return The unique identifier for this owner.
268     */
269    @java.lang.SuppressWarnings("all")
270    public String getId() {
271      return this.id;
272    }
273
274    /**
275     * The unique identifier for this owner.
276     */
277    @java.lang.SuppressWarnings("all")
278    public void setId(final String id) {
279      this.id = id;
280    }
281
282    /**
283     * The name of this owner.
284     * 
285     * @return The name of this owner.
286     */
287    @java.lang.SuppressWarnings("all")
288    public String getName() {
289      return this.name;
290    }
291
292    /**
293     * The name of this owner.
294     */
295    @java.lang.SuppressWarnings("all")
296    public void setName(final String name) {
297      this.name = name;
298    }
299
300    /**
301     * The category for this owner.
302     * 
303     * @return The category for this owner.
304     */
305    @java.lang.SuppressWarnings("all")
306    public String getCategory() {
307      return this.category;
308    }
309
310    /**
311     * The category for this owner.
312     */
313    @java.lang.SuppressWarnings("all")
314    public void setCategory(final String category) {
315      this.category = category;
316    }
317  }
318
319
320  /**
321   * Represents the <a href="http://developers.facebook.com/docs/reference/api/event">Event Owner Category Graph API
322   * type</a>.
323   * 
324   * @author <a href="http://restfb.com">Mark Allen</a>
325   * @since 1.6.13
326   */
327  public static class Category extends AbstractFacebookType {
328    /**
329     * The unique identifier for this category.
330     */
331    @Facebook
332    private String id;
333    /**
334     * The name of this category.
335     */
336    @Facebook
337    private String name;
338    private static final long serialVersionUID = 1L;
339
340    /**
341     * The unique identifier for this category.
342     * 
343     * @return The unique identifier for this category.
344     */
345    @java.lang.SuppressWarnings("all")
346    public String getId() {
347      return this.id;
348    }
349
350    /**
351     * The unique identifier for this category.
352     */
353    @java.lang.SuppressWarnings("all")
354    public void setId(final String id) {
355      this.id = id;
356    }
357
358    /**
359     * The name of this category.
360     * 
361     * @return The name of this category.
362     */
363    @java.lang.SuppressWarnings("all")
364    public String getName() {
365      return this.name;
366    }
367
368    /**
369     * The name of this category.
370     */
371    @java.lang.SuppressWarnings("all")
372    public void setName(final String name) {
373      this.name = name;
374    }
375  }
376
377  @JsonMappingCompleted
378  void convertTime() {
379    // Sometimes the date comes back in short form - if long form parsing
380    // failed, try short instead
381    Date dateEnd = toDateFromLongFormat(rawEndTime);
382    endTime = dateEnd == null ? toDateFromShortFormat(rawEndTime) : dateEnd;
383    Date dateStart = toDateFromLongFormat(rawStartTime);
384    startTime = dateStart == null ? toDateFromShortFormat(rawStartTime) : dateStart;
385  }
386
387  @JsonMappingCompleted
388  protected void convertPicture(JsonMapper jsonMapper) {
389    MappingUtils mappingUtils = new MappingUtils(jsonMapper);
390    picture = mappingUtils.convertPicture(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  @java.lang.SuppressWarnings("all")
759  public ProfilePictureSource getPicture() {
760    return this.picture;
761  }
762
763  /**
764   * The event's picture.
765   *
766   *         ?fields=id,name,picture)
767   * @since 1.6.13
768   */
769  @java.lang.SuppressWarnings("all")
770  public void setPicture(final ProfilePictureSource picture) {
771    this.picture = picture;
772  }
773
774  /**
775   * The group the event belongs to, if any.
776   * 
777   * @return The group the event belongs to, if any.
778   */
779  @java.lang.SuppressWarnings("all")
780  public Group getParentGroup() {
781    return this.parentGroup;
782  }
783
784  /**
785   * The group the event belongs to, if any.
786   */
787  @java.lang.SuppressWarnings("all")
788  public void setParentGroup(final Group parentGroup) {
789    this.parentGroup = parentGroup;
790  }
791
792  /**
793   * Location associated with the event, if any.
794   *
795   * @return Location associated with the event, if any
796   */
797  @GraphAPI(since = "2.3")
798  @java.lang.SuppressWarnings("all")
799  public Place getPlace() {
800    return this.place;
801  }
802
803  /**
804   * Location associated with the event, if any.
805   */
806  @java.lang.SuppressWarnings("all")
807  public void setPlace(final Place place) {
808    this.place = place;
809  }
810
811  /**
812   * Should the time information be ignored in the dates for this event?
813   * 
814   * @return <tt>true</tt> if the time information be ignored in the dates for this event, <tt>false</tt> otherwise.
815   * @since 1.6.13
816   */
817  @java.lang.SuppressWarnings("all")
818  public Boolean getIsDateOnly() {
819    return this.isDateOnly;
820  }
821
822  /**
823   * Should the time information be ignored in the dates for this event?
824   *
825   * @since 1.6.13
826   */
827  @java.lang.SuppressWarnings("all")
828  public void setIsDateOnly(final Boolean isDateOnly) {
829    this.isDateOnly = isDateOnly;
830  }
831
832  /**
833   * the timezone of the event
834   */
835  @java.lang.SuppressWarnings("all")
836  public String getTimezone() {
837    return this.timezone;
838  }
839
840  /**
841   * the timezone of the event
842   */
843  @java.lang.SuppressWarnings("all")
844  public void setTimezone(final String timezone) {
845    this.timezone = timezone;
846  }
847
848  /**
849   * Cover picture
850   *
851   * @return Cover picture
852   */
853  @java.lang.SuppressWarnings("all")
854  public CoverPhoto getCover() {
855    return this.cover;
856  }
857
858  /**
859   * Cover picture
860   */
861  @java.lang.SuppressWarnings("all")
862  public void setCover(final CoverPhoto cover) {
863    this.cover = cover;
864  }
865
866  /**
867   * Number of people attending the event
868   *
869   * @return Number of people attending the event
870   */
871  @GraphAPI(since = "2.1")
872  @java.lang.SuppressWarnings("all")
873  public Integer getAttendingCount() {
874    return this.attendingCount;
875  }
876
877  /**
878   * Number of people attending the event
879   */
880  @java.lang.SuppressWarnings("all")
881  public void setAttendingCount(final Integer attendingCount) {
882    this.attendingCount = attendingCount;
883  }
884
885  /**
886   * Number of people who declined the event
887   *
888   * @return Number of people who declined the event
889   */
890  @GraphAPI(since = "2.1")
891  @java.lang.SuppressWarnings("all")
892  public Integer getDeclinedCount() {
893    return this.declinedCount;
894  }
895
896  /**
897   * Number of people who declined the event
898   */
899  @java.lang.SuppressWarnings("all")
900  public void setDeclinedCount(final Integer declinedCount) {
901    this.declinedCount = declinedCount;
902  }
903
904  /**
905   * Number of people who maybe going to the event
906   *
907   * @return Number of people who maybe going to the event
908   */
909  @GraphAPI(since = "2.1")
910  @java.lang.SuppressWarnings("all")
911  public Integer getMaybeCount() {
912    return this.maybeCount;
913  }
914
915  /**
916   * Number of people who maybe going to the event
917   */
918  @java.lang.SuppressWarnings("all")
919  public void setMaybeCount(final Integer maybeCount) {
920    this.maybeCount = maybeCount;
921  }
922
923  /**
924   * Number of people who did not reply to the event
925   *
926   * @return Number of people who did not reply to the event
927   */
928  @GraphAPI(since = "2.1")
929  @java.lang.SuppressWarnings("all")
930  public Integer getNoreplyCount() {
931    return this.noreplyCount;
932  }
933
934  /**
935   * Number of people who did not reply to the event
936   */
937  @java.lang.SuppressWarnings("all")
938  public void setNoreplyCount(final Integer noreplyCount) {
939    this.noreplyCount = noreplyCount;
940  }
941}