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