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 java.util.Collections.unmodifiableList; 026import java.util.*; 027import com.restfb.Facebook; 028import com.restfb.JsonMapper; 029import com.restfb.JsonMapper.JsonMappingCompleted; 030import com.restfb.annotation.GraphAPI; 031import com.restfb.json.Json; 032import com.restfb.json.JsonObject; 033import com.restfb.json.JsonValue; 034import com.restfb.types.ads.Business; 035import com.restfb.types.features.HasProfilePicture; 036import com.restfb.types.instagram.IgUser; 037 038/** 039 * Represents the <a href="https://developers.facebook.com/docs/graph-api/reference/page/">Page Graph API type</a>. 040 * 041 * @author <a href="http://restfb.com">Mark Allen</a> 042 * @since 1.5 043 */ 044public class Page extends CategorizedFacebookType implements HasProfilePicture { 045 @Facebook("picture") 046 private transient String rawPicture; 047 /** 048 * The pages's profile picture, if provided. 049 * 050 * To force Facebook to fill the <code>picture</code> field you have to fetch the page with the 051 * <code>fields=picture</code> parameter, otherwise the picture is <code>null</code>. 052 * 053 */ 054 private ProfilePictureSource picture; 055 @Facebook("admin_notes") 056 private List<PageAdminNote> adminNotes = new ArrayList<>(); 057 /** 058 * Affiliation of this person. Applicable to Pages representing people 059 * 060 * @since 1.10.0 061 */ 062 @Facebook 063 private String affiliation; 064 /** 065 * App ID for app-owned Pages and app Pages. 066 */ 067 @Facebook("app_id") 068 private String appId; 069 /** 070 * Artists the band likes. Applicable to Bands 071 * 072 * @since 1.10.0 073 */ 074 @Facebook("artists_we_like") 075 private String artistsWeLike; 076 /** 077 * relevance score of an asset. 078 */ 079 @Facebook("asset_score") 080 private Double assetScore; 081 /** 082 * Dress code of the business. Applicable to Restaurants or Nightlife. Can be one of Casual, Dressy or Unspecified 083 * 084 * @since 1.10.0 085 */ 086 @Facebook 087 private String attire; 088 /** 089 * The awards information of the film. Applicable to Films 090 * 091 * @since 1.10.0 092 */ 093 @Facebook 094 private String awards; 095 /** 096 * Band interests. Applicable to Bands 097 * 098 * @since 1.10.0 099 */ 100 @Facebook("band_interests") 101 private String bandInterests; 102 /** 103 * Members of the band. Applicable to Bands 104 * 105 * @since 1.10.0 106 */ 107 @Facebook("band_members") 108 private String bandMembers; 109 /** 110 * The best available Page on Facebook for the concept represented by this Page. The best available Page takes into 111 * account authenticity and the number of likes 112 * 113 * @since 1.10.0 114 */ 115 @Facebook("best_page") 116 private Page bestPage; 117 /** 118 * The mailing or contact address for this page. This field will be blank if the contact address is the same as the 119 * physical address 120 * 121 * @since 1.10.0 122 */ 123 @Facebook("contact_address") 124 private MailingAddress contactAddress; 125 /** 126 * If this is a Page in a Global Pages hierarchy, the number of people who are being directed to this Page. 127 */ 128 @Facebook("country_page_likes") 129 private Integer countryPageLikes; 130 /** 131 * The Page's category. e.g. Product/Service, Computers/Technology 132 */ 133 @Facebook 134 private String category; 135 /** 136 * Biography of the band. Applicable to Bands 137 * 138 * @since 1.10.0 139 */ 140 @Facebook 141 private String bio; 142 /** 143 * Birthday of this person. Applicable to Pages representing people 144 * 145 * @since 1.10.0 146 */ 147 @Facebook 148 private String birthday; 149 /** 150 * Year vehicle was built. Applicable to Vehicles 151 * 152 * @since 1.10.0 153 */ 154 @Facebook 155 private String built; 156 /** 157 * The Business associated with this Page. 158 */ 159 @Facebook 160 private Business business; 161 /** 162 * Culinary team of the business. Applicable to Restaurants or Nightlife 163 * 164 * @since 1.10.0 165 */ 166 @Facebook("culinary_team") 167 private String culinaryTeam; 168 /** 169 * Current location of the Page. 170 * 171 * @since 1.10.0 172 */ 173 @Facebook("current_location") 174 private String currentLocation; 175 /** 176 * Features of the vehicle. Applicable to Vehicles 177 * 178 * @since 1.10.0 179 */ 180 @Facebook 181 private String features; 182 /** 183 * The name of the Page with country codes appended for Global Brand Pages. Only visible to the Page admin 184 * 185 * @since 1.10.0 186 */ 187 @Facebook("global_brand_page_name") 188 private String globalBrandPageName; 189 /** 190 * This brand's global Root ID. 191 */ 192 @Facebook("global_brand_root_id") 193 private String globalBrandRootId; 194 /** 195 * This brand's global (parent) Page. 196 * 197 * @since 1.10.0 198 */ 199 @Facebook("global_brand_parent_page") 200 private Page globalBrandParentPage; 201 /** 202 * Indicates whether this Page has added the app making the query in a Page tab. 203 * 204 * @since 1.10.0 205 */ 206 @Facebook("has_added_app") 207 private Boolean hasAddedApp; 208 /** 209 * has whatsapp number 210 */ 211 @Facebook("has_whatsapp_number") 212 private Boolean hasWhatsappNumber; 213 /** 214 * Indicates whether WhatsApp number connected to this page is a WhatsApp business number 215 */ 216 @Facebook("has_whatsapp_business_number") 217 private Boolean hasWhatsappBusinessNumber; 218 /** 219 * Hometown of the band. Applicable to Bands 220 * 221 * @since 1.10.0 222 */ 223 @Facebook 224 private String hometown; 225 @Facebook("hours") 226 private List<JsonObject> rawHours = new ArrayList<>(); 227 @Facebook("hours") 228 private Map<String, String> rawHoursMap = new HashMap<>(); 229 /** 230 * Opening hours 231 * 232 * @since 1.10.1 233 */ 234 private Hours hours; 235 /** 236 * Legal information about the Page publishers. 237 * 238 * @since 1.10.0 239 */ 240 @Facebook 241 private String impressum; 242 /** 243 * Influences on the band. Applicable to Bands 244 * 245 * @since 1.10.0 246 */ 247 @Facebook 248 private String influences; 249 /** 250 * Whether the business corresponding to this Page is permanently closed. 251 * 252 * @since 1.10.0 253 */ 254 @Facebook("is_permanently_closed") 255 private Boolean isPermanentlyClosed; 256 private List<PageLabel> labels = new ArrayList<>(); 257 /** 258 * owner business of this object 259 */ 260 @Facebook("owner_business") 261 private Business ownerBusiness; 262 /** 263 * Overall page rating based on rating survey from users on a scale of 1-5. This value is normalized and is not 264 * guaranteed to be a strict average of user ratings. If there are 0 or a small number of ratings, this field will not 265 * be returned. 266 */ 267 @Facebook("overall_star_rating") 268 private Double overallStarRating; 269 /** 270 * Number of ratings for the page (limited to ratings that are publicly accessible 271 */ 272 @Facebook("rating_count") 273 private Integer ratingCount; 274 /** 275 * Messenger page scope id associated with page and a user using account_linking_token 276 */ 277 @Facebook 278 private String recipient; 279 @Facebook("labels") 280 private transient String rawLabels; 281 /** 282 * Personal information. Applicable to Pages representing People 283 * 284 * @since 1.10.0 285 */ 286 @Facebook("personal_info") 287 private String personalInfo; 288 /** 289 * Payment options accepted by the business. Applicable to Restaurants or Nightlife 290 * 291 * @since 1.10.0 292 */ 293 @Facebook("payment_options") 294 private PagePaymentOptions paymentOptions; 295 /** 296 * Personal interests. Applicable to Pages representing People 297 * 298 * @since 1.10.0 299 */ 300 @Facebook("personal_interests") 301 private String personalInterests; 302 /** 303 * Pharmacy safety information. Applicable to Pharmaceutical companies 304 * 305 * @since 1.10.0 306 */ 307 @Facebook("pharma_safety_info") 308 private String pharmaSafetyInfo; 309 /** 310 * For places, the category of the place. 311 */ 312 @Facebook("place_type") 313 private String placeType; 314 /** 315 * The plot outline of the film. Applicable to Films 316 * 317 * @since 1.10.0 318 */ 319 @Facebook("plot_outline") 320 private String plotOutline; 321 /** 322 * Price range of the business. Applicable to Restaurants or Nightlife. Can be one of $ (0-10), $$ (10-30), $$$ 323 * (30-50), $$$$ (50+) or Unspecified 324 * 325 * @since 1.10.0 326 */ 327 @Facebook("price_range") 328 private String priceRange; 329 /** 330 * The productor of the film. Applicable to Films 331 * 332 * @since 1.10.0 333 */ 334 @Facebook("produced_by") 335 private String producedBy; 336 /** 337 * Reason why a post isn't eligible for boosting. Only visible to Page Admins 338 * 339 * @since 1.10.0 340 */ 341 @Facebook("promotion_eligible") 342 private Boolean promotionEligible; 343 /** 344 * Reason, for which boosted posts are not eligible. Only visible to a page admin 345 * 346 * @since 1.10.0 347 */ 348 @Facebook("promotion_ineligible_reason") 349 private String promotionIneligibleReason; 350 /** 351 * Public transit to the business. Applicable to Restaurants or Nightlife 352 * 353 * @since 1.10.0 354 */ 355 @Facebook("public_transit") 356 private String publicTransit; 357 /** 358 * Record label of the band. Applicable to Bands 359 * 360 * @since 1.10.0 361 */ 362 @Facebook("record_label") 363 private String recordLabel; 364 /** 365 * The film's release date. Applicable to Films 366 * 367 * @since 1.10.0 368 */ 369 @Facebook("release_date") 370 private String releaseDate; 371 /** 372 * Services the restaurant provides. Applicable to Restaurants 373 * 374 * @since 1.10.0 375 */ 376 @Facebook("restaurant_services") 377 private PageRestaurantServices restaurantServices; 378 /** 379 * The restaurant's specialties. Applicable to Restaurants 380 * 381 * @since 1.10.0 382 */ 383 @Facebook("restaurant_specialties") 384 private PageRestaurantSpecialties restaurantSpecialties; 385 /** 386 * Unique store code for this location Page 387 */ 388 @Facebook("store_code") 389 private String storeCode; 390 /** 391 * Location Page's store location descriptor 392 */ 393 @Facebook("store_location_descriptor") 394 @GraphAPI(since = "2.5") 395 private String storeLocationDescriptor; 396 /** 397 * The genre of the film. Applicable to Films 398 * 399 * @since 1.10.0 400 */ 401 @Facebook 402 private String genre; 403 /** 404 * MPG of the vehicle. Applicable to Vehicles 405 * 406 * @since 1.10.0 407 */ 408 @Facebook 409 private String mpg; 410 /** 411 * The TV network for the TV show. Applicable to TV Shows 412 * 413 * @since 1.10.0 414 */ 415 @Facebook 416 private String network; 417 /** 418 * The number of people who have liked the Page, since the last login. Only visible to a page admin 419 * 420 * @since 1.10.0 421 */ 422 @Facebook("new_like_count") 423 private Long newLikeCount; 424 /** 425 * Offer eligibility status. Only visible to a page admin 426 * 427 * @since 1.10.0 428 */ 429 @Facebook("offer_eligible") 430 private Boolean offerEligible; 431 /** 432 * The air schedule of the TV show. Applicable to TV Shows 433 * 434 * @since 1.10.0 435 */ 436 @Facebook 437 private String schedule; 438 /** 439 * The screenwriter of the film. Applicable to Films 440 * 441 * @since 1.10.0 442 */ 443 @Facebook("screenplay_by") 444 private String screenplayBy; 445 /** 446 * The season information of the TV Show. Applicable to TV Shows 447 * 448 * @since 1.10.0 449 */ 450 @Facebook 451 private String season; 452 /** 453 * The page address, if any, in a simple single line format. 454 */ 455 @Facebook("single_line_address") 456 private String singleLineAddress; 457 /** 458 * The cast of the film. Applicable to Films 459 * 460 * @since 1.10.0 461 */ 462 @Facebook 463 private String starring; 464 /** 465 * Information about when the entity represented by the Page was started 466 * 467 * @since 1.10.0 468 */ 469 @Facebook("start_info") 470 private PageStartInfo startInfo; 471 /** 472 * Unique store number for this location Page. 473 * 474 * @since 1.10.0 475 */ 476 @Facebook("store_number") 477 private String storeNumber; 478 /** 479 * The studio for the film production. Applicable to Films 480 * 481 * @since 1.10.0 482 */ 483 @Facebook 484 private String studio; 485 /** 486 * The social sentence and like count information for this Page. This is the same info used for the like button 487 * 488 * @since 1.10.0 489 */ 490 @Facebook 491 private Engagement engagement; 492 /** 493 * Unread message count for the Page. Only visible to a page admin 494 * 495 * @since 1.10.0 496 */ 497 @Facebook("unread_message_count") 498 private Long unreadMessageCount; 499 /** 500 * Number of unread notifications. Only visible to a page admin 501 * 502 * @since 1.10.0 503 */ 504 @Facebook("unread_notif_count") 505 private Long unreadNotifCount; 506 /** 507 * Unseen message count for the Page. Only visible to a page admin 508 * 509 * @since 1.10.0 510 */ 511 @Facebook("unseen_message_count") 512 private Long unseenMessageCount; 513 /** 514 * Members of this org. Applicable to Pages representing Team Orgs 515 * 516 * @since 1.10.0 517 */ 518 @Facebook 519 private String members; 520 /** 521 * The number of visits to this Page's location. If the Page setting Show map, check-ins and star ratings on the Page 522 * (under Page Settings > Page Info > Address) is disabled, then this value will also be disabled 523 * 524 * @since 1.10.0 525 */ 526 @Facebook("were_here_count") 527 private Long wereHereCount; 528 /** 529 * Video Featured by the Page. Only visible to the Page admin 530 * 531 * @since 1.10.0 532 */ 533 @Facebook("featured_video") 534 private Video featuredVideo; 535 /** 536 * Showing whether this Page is verified and in what color e.g. blue verified, gray verified or not verified 537 */ 538 @Facebook("verification_status") 539 private String verificationStatus; 540 /** 541 * Voip info 542 * 543 * @since 1.10.0 544 */ 545 @Facebook("voip_info") 546 private VoipInfo voipInfo; 547 /** 548 * The writer of the TV show. Applicable to TV Shows 549 * 550 * @since 1.10.0 551 */ 552 @Facebook("written_by") 553 private String writtenBy; 554 /** 555 * whatsapp number 556 */ 557 @Facebook("whatsapp_number") 558 private String whatsappNumber; 559 /** 560 * The page's link. 561 * 562 */ 563 @Facebook 564 private String link; 565 /** 566 * The page's username. The alias of the Page. For example, for www.facebook.com/platform the username is 'platform' 567 * 568 */ 569 @Facebook 570 private String username; 571 /** 572 * When the page was founded. 573 * 574 */ 575 @Facebook 576 private String founded; 577 /** 578 * Overview of the page's company. 579 * 580 */ 581 @Facebook("company_overview") 582 private String companyOverview; 583 /** 584 * The company mission. Applicable to Companies 585 * 586 */ 587 @Facebook 588 private String mission; 589 /** 590 * The page's products. 591 * 592 */ 593 @Facebook 594 private String products; 595 @Facebook("page_token") 596 private String pageToken; 597 /** 598 * Parent Page of this Page. 599 * 600 * If the Page is part of a Global Root Structure and you have permission to the Global Root, 601 * the Global Root Parent Page is returned. If you do not have Global Root permission, 602 * the Market Page for your current region is returned as the Parent Page. 603 * 604 * If your Page is not part of a Global Root Structure, the Parent Page is returned. 605 */ 606 @Facebook("parent_page") 607 private Page parentPage; 608 /** 609 * Indicates whether a user has accepted the TOS for running LeadGen Ads on the Page. 610 * 611 */ 612 @Facebook("leadgen_tos_accepted") 613 private Boolean leadgenTosAccepted; 614 /** 615 * The number of likes the page has. 616 * 617 * Since Graph 2.6 you should use {@link Page#fanCount} instead 618 * 619 * @since 1.6.5 620 */ 621 @Facebook("likes") 622 @GraphAPI(until = "2.5") 623 private Long likesCount; 624 /** 625 * The Pages that this Page Likes. 626 */ 627 @Facebook 628 @GraphAPI(since = "2.6") 629 private Likes likes; 630 /** 631 * The number of likes the page has. 632 */ 633 @Facebook("fan_count") 634 @GraphAPI(since = "2.6") 635 private Long fanCount; 636 /** 637 * Indicates whether this location is always open. 638 */ 639 @Facebook("is_always_open") 640 private Boolean isAlwaysOpen; 641 /** 642 * Indicates whether location is part of a chain 643 */ 644 @Facebook("is_chain") 645 private Boolean isChain; 646 /** 647 * Is this a community page? 648 * 649 */ 650 @Facebook("is_community_page") 651 private Boolean isCommunityPage; 652 /** 653 * Indicates whether the page is eligible for the branded content tool 654 */ 655 @Facebook("is_eligible_for_branded_content") 656 private Boolean isEligibleForBrandedContent; 657 /** 658 * Indicates whether the page is a Messenger Platform Bot with Get Started button enabled 659 */ 660 @Facebook("is_messenger_bot_get_started_enabled") 661 private Boolean isMessengerBotGetStartedEnabled; 662 /** 663 * Indicates whether the page is a Messenger Platform Bot 664 */ 665 @Facebook("is_messenger_platform_bot") 666 private Boolean isMessengerPlatformBot; 667 /** 668 * Indicates whether page is owned 669 */ 670 @Facebook("is_owned") 671 private Boolean isOwned; 672 /** 673 * A description of this page. 674 * 675 */ 676 @Facebook 677 private String description; 678 /** 679 * The description of the Page in raw HTML. 680 * 681 * @since 1.10.0 682 */ 683 @Facebook("description_html") 684 private String descriptionHtml; 685 /** 686 * The total number of users who have checked in to the Page. 687 * 688 */ 689 @Facebook 690 private Integer checkins; 691 /** 692 * The phone number (not always normalized for country code) for the Page. 693 * 694 */ 695 @Facebook 696 private String phone; 697 /** 698 * Parking information. Applicable to Businesses and Places 699 */ 700 @Facebook 701 private PageParking parking; 702 /** 703 * An admin {@code access_token} for this page. 704 * <p> 705 * The current user must be an administrator of this page; only returned if specifically requested via the fields URL 706 * parameter, e.g. {@code facebookClient.fetchObject("123", Page.class, Parameter.with("fields","access_token"))} 707 * 708 * @since 1.6.5 709 */ 710 @Facebook("access_token") 711 private String accessToken; 712 /** 713 * General information about this page. 714 * 715 * @since 1.6.10 716 */ 717 @Facebook 718 private String about; 719 /** 720 * The number of people that are talking about this page (last seven days). 721 * 722 * @since 1.6.10 723 */ 724 @Facebook("talking_about_count") 725 private Long talkingAboutCount; 726 /** 727 * Whether this page has checkin functionality enabled. 728 */ 729 @Facebook("can_checkin") 730 private Boolean canCheckin; 731 /** 732 * Indicates whether the current session user can post on this page. 733 * 734 * @since 1.6.10 735 */ 736 @Facebook("can_post") 737 private Boolean canPost; 738 /** 739 * Indicates whether the page is published and visible to non-admins. 740 * 741 * @since 1.6.10 742 */ 743 @Facebook("is_published") 744 private Boolean isPublished; 745 /** 746 * Indicates whether the Page is unclaimed. 747 * 748 * @since 1.7.0 749 */ 750 @Facebook("is_unclaimed") 751 private Boolean isUnclaimed; 752 /** 753 * Pages with a large number of followers can be manually verified by Facebook as having an authentic identity. This 754 * field indicates whether the page is verified by this process 755 * 756 * @since 1.10.0 757 * @deprecated use <code>verificationStatus</code> instead 758 */ 759 @Deprecated 760 @Facebook("is_verified") 761 private Boolean isVerified; 762 /** 763 * Indicates whether the application is subscribed for real time updates from this page 764 */ 765 @Facebook("is_webhooks_subscribed") 766 @GraphAPI(since = "2.7") 767 private Boolean isWebhooksSubscribed; 768 /** 769 * The director of the film. Applicable to Films. 770 * 771 * @since 1.7.0 772 */ 773 @Facebook("directed_by") 774 private String directedBy; 775 /** 776 * Subtext about the Page being viewed. 777 */ 778 @Facebook("display_subtext") 779 private String displaySubtext; 780 /** 781 * Page estimated message response time displayed to user 782 */ 783 @Facebook("displayed_message_response_time") 784 private String displayedMessageResponseTime; 785 /** 786 * General manager of the business. Applicable to Restaurants or Nightlife. 787 * 788 * @since 1.7.0 789 */ 790 @Facebook("general_manager") 791 private String generalManager; 792 /** 793 * The general information for a page. 794 * 795 * @since 1.6.12 796 */ 797 @Facebook("general_info") 798 private String generalInfo; 799 /** 800 * The location of the place this page represents. 801 * 802 */ 803 @Facebook 804 private Location location; 805 /** 806 * The instant workflow merchant id associated with the Page 807 */ 808 @Facebook("merchant_id") 809 private String merchantId; 810 /** 811 * The cover photo. 812 * 813 * @since 1.6.10 814 */ 815 @Facebook 816 private Cover cover; 817 /** 818 * The website URL 819 * 820 * @since 1.6.15 821 */ 822 @Facebook 823 private String website; 824 /** 825 * The name of a Location Page that provides additional location information for that Page beside its name. 826 * 827 * @since 1.7.0 828 */ 829 @Facebook("name_with_location_descriptor") 830 private String nameWithLocationDescriptor; 831 /** 832 * Booking agent of the band. Applicable to Bands. 833 * 834 * @since 1.7.0 835 */ 836 @Facebook("booking_agent") 837 private String bookingAgent; 838 /** 839 * Press contact information of the band. Applicable to Bands. 840 * 841 * @since 1.7.0 842 */ 843 @Facebook("press_contact") 844 private String pressContact; 845 /** 846 * Instagram account connected to page via page settings 847 * 848 * @deprecated with Graph API 12 or December 13, 2021 for all versions 849 */ 850 @Facebook("connected_instagram_account") 851 @Deprecated 852 private IgUser connectedInstagramAccount; 853 /** 854 * Instagram account linked to page during Instagram business conversion flow 855 * 856 * @deprecated with Graph API 12 or December 13, 2021 for all versions 857 */ 858 @Facebook("instagram_business_account") 859 @Deprecated 860 private IgUser instagramBusinessAccount; 861 @Facebook("instagram_accounts") 862 private List<InstagramUser> instagramAccounts = new ArrayList<>(); 863 /** 864 * Indicates the current Instant Articles review status for this page 865 */ 866 @Facebook("instant_articles_review_status") 867 private String instantArticlesReviewStatus; 868 /** 869 * last used time of this object by the current viewer 870 */ 871 @Facebook("last_used_time") 872 private Date lastUsedTime; 873 @Facebook("category_list") 874 private List<Category> categoryList = new ArrayList<>(); 875 @Facebook 876 private List<String> emails = new ArrayList<>(); 877 @Facebook("food_styles") 878 private List<String> foodStyles = new ArrayList<>(); 879 @Facebook("screennames") 880 private List<ScreenName> screenNames = new ArrayList<>(); 881 private static final long serialVersionUID = 2L; 882 883 884 public static class ScreenName extends AbstractFacebookType { 885 private static final long serialVersionUID = 1L; 886 @Facebook("service_name") 887 private String serviceName; 888 @Facebook 889 private String value; 890 891 @java.lang.SuppressWarnings("all") 892 public String getServiceName() { 893 return this.serviceName; 894 } 895 896 @java.lang.SuppressWarnings("all") 897 public void setServiceName(final String serviceName) { 898 this.serviceName = serviceName; 899 } 900 901 @java.lang.SuppressWarnings("all") 902 public String getValue() { 903 return this.value; 904 } 905 906 @java.lang.SuppressWarnings("all") 907 public void setValue(final String value) { 908 this.value = value; 909 } 910 } 911 912 913 /** 914 * Represents the <a href="http://developers.facebook.com/docs/reference/api/page">Cover Graph API type</a>. 915 * 916 * @author <a href="http://restfb.com">Mark Allen</a> 917 * @since 1.6.10 918 */ 919 public static class Cover extends AbstractFacebookType { 920 /** 921 * The ID of the photo. 922 * 923 */ 924 @Facebook("cover_id") 925 private String coverId; 926 /** 927 * The URL for the cover photo. 928 * 929 */ 930 @Facebook 931 private String source; 932 /** 933 * The percentage offset from top [0-100]. 934 * 935 */ 936 @Facebook("offset_y") 937 private Integer offsetY; 938 private static final long serialVersionUID = 1L; 939 940 /** 941 * The ID of the photo. 942 * 943 * @return The ID of the photo. 944 */ 945 @java.lang.SuppressWarnings("all") 946 public String getCoverId() { 947 return this.coverId; 948 } 949 950 /** 951 * The ID of the photo. 952 * 953 */ 954 @java.lang.SuppressWarnings("all") 955 public void setCoverId(final String coverId) { 956 this.coverId = coverId; 957 } 958 959 /** 960 * The URL for the cover photo. 961 * 962 * @return The URL for the cover photo. 963 */ 964 @java.lang.SuppressWarnings("all") 965 public String getSource() { 966 return this.source; 967 } 968 969 /** 970 * The URL for the cover photo. 971 * 972 */ 973 @java.lang.SuppressWarnings("all") 974 public void setSource(final String source) { 975 this.source = source; 976 } 977 978 /** 979 * The percentage offset from top [0-100]. 980 * 981 * @return The percentage offset from top [0-100]. 982 */ 983 @java.lang.SuppressWarnings("all") 984 public Integer getOffsetY() { 985 return this.offsetY; 986 } 987 988 /** 989 * The percentage offset from top [0-100]. 990 * 991 */ 992 @java.lang.SuppressWarnings("all") 993 public void setOffsetY(final Integer offsetY) { 994 this.offsetY = offsetY; 995 } 996 } 997 998 999 public static class MailingAddress extends AbstractFacebookType { 1000 private static final long serialVersionUID = 1L; 1001 /** 1002 * The mailing address ID. 1003 */ 1004 @Facebook 1005 private String id; 1006 /** 1007 * Address city name. 1008 */ 1009 @Facebook 1010 private String city; 1011 /** 1012 * Page representing the address city. 1013 */ 1014 @Facebook("city_page") 1015 private Page cityPage; 1016 /** 1017 * Country of the address. 1018 */ 1019 @Facebook 1020 private String country; 1021 /** 1022 * Street address. 1023 */ 1024 @Facebook 1025 private String street1; 1026 /** 1027 * Second part of the street address - apt, suite, etc. 1028 */ 1029 @Facebook 1030 private String street2; 1031 /** 1032 * Region or state of the address. 1033 */ 1034 @Facebook 1035 private String region; 1036 /** 1037 * Postal code of the address. 1038 */ 1039 @Facebook("postal_code") 1040 private String postalCode; 1041 1042 /** 1043 * The mailing address ID. 1044 */ 1045 @java.lang.SuppressWarnings("all") 1046 public String getId() { 1047 return this.id; 1048 } 1049 1050 /** 1051 * The mailing address ID. 1052 */ 1053 @java.lang.SuppressWarnings("all") 1054 public void setId(final String id) { 1055 this.id = id; 1056 } 1057 1058 /** 1059 * Address city name. 1060 */ 1061 @java.lang.SuppressWarnings("all") 1062 public String getCity() { 1063 return this.city; 1064 } 1065 1066 /** 1067 * Address city name. 1068 */ 1069 @java.lang.SuppressWarnings("all") 1070 public void setCity(final String city) { 1071 this.city = city; 1072 } 1073 1074 /** 1075 * Page representing the address city. 1076 */ 1077 @java.lang.SuppressWarnings("all") 1078 public Page getCityPage() { 1079 return this.cityPage; 1080 } 1081 1082 /** 1083 * Page representing the address city. 1084 */ 1085 @java.lang.SuppressWarnings("all") 1086 public void setCityPage(final Page cityPage) { 1087 this.cityPage = cityPage; 1088 } 1089 1090 /** 1091 * Country of the address. 1092 */ 1093 @java.lang.SuppressWarnings("all") 1094 public String getCountry() { 1095 return this.country; 1096 } 1097 1098 /** 1099 * Country of the address. 1100 */ 1101 @java.lang.SuppressWarnings("all") 1102 public void setCountry(final String country) { 1103 this.country = country; 1104 } 1105 1106 /** 1107 * Street address. 1108 */ 1109 @java.lang.SuppressWarnings("all") 1110 public String getStreet1() { 1111 return this.street1; 1112 } 1113 1114 /** 1115 * Street address. 1116 */ 1117 @java.lang.SuppressWarnings("all") 1118 public void setStreet1(final String street1) { 1119 this.street1 = street1; 1120 } 1121 1122 /** 1123 * Second part of the street address - apt, suite, etc. 1124 */ 1125 @java.lang.SuppressWarnings("all") 1126 public String getStreet2() { 1127 return this.street2; 1128 } 1129 1130 /** 1131 * Second part of the street address - apt, suite, etc. 1132 */ 1133 @java.lang.SuppressWarnings("all") 1134 public void setStreet2(final String street2) { 1135 this.street2 = street2; 1136 } 1137 1138 /** 1139 * Region or state of the address. 1140 */ 1141 @java.lang.SuppressWarnings("all") 1142 public String getRegion() { 1143 return this.region; 1144 } 1145 1146 /** 1147 * Region or state of the address. 1148 */ 1149 @java.lang.SuppressWarnings("all") 1150 public void setRegion(final String region) { 1151 this.region = region; 1152 } 1153 1154 /** 1155 * Postal code of the address. 1156 */ 1157 @java.lang.SuppressWarnings("all") 1158 public String getPostalCode() { 1159 return this.postalCode; 1160 } 1161 1162 /** 1163 * Postal code of the address. 1164 */ 1165 @java.lang.SuppressWarnings("all") 1166 public void setPostalCode(final String postalCode) { 1167 this.postalCode = postalCode; 1168 } 1169 } 1170 1171 1172 /** 1173 * Represents the <a href="https://developers.facebook.com/docs/graph-api/reference/engagement/">Page Engagement Graph 1174 * API type</a>. 1175 * 1176 * The social sentence and like count used to render the like plugin 1177 * 1178 * @since 1.10.0 1179 */ 1180 public static class Engagement extends AbstractFacebookType { 1181 private static final long serialVersionUID = 1L; 1182 /** 1183 * Number of people who like this. 1184 * 1185 */ 1186 @Facebook 1187 private Long count; 1188 /** 1189 * Abbreviated string representation of count. 1190 * 1191 */ 1192 @Facebook("count_string") 1193 private String countString; 1194 /** 1195 * Abbreviated string representation of count if the viewer likes the object. 1196 * 1197 */ 1198 @Facebook("count_string_with_like") 1199 private String countStringWithLike; 1200 /** 1201 * Abbreviated string representation of count if the viewer does not like the object. 1202 * 1203 */ 1204 @Facebook("count_string_without_like") 1205 private String countStringWithoutLike; 1206 /** 1207 * Text that the like button would currently display. 1208 * 1209 */ 1210 @Facebook("social_sentence") 1211 private String socialSentence; 1212 /** 1213 * Text that the like button would display if the viewer likes the object. 1214 * 1215 */ 1216 @Facebook("social_sentence_with_like") 1217 private String socialSentenceWithLike; 1218 /** 1219 * Text that the like button would display if the viewer does not like the object. 1220 * 1221 */ 1222 @Facebook("social_sentence_without_like") 1223 private String socialSentenceWithoutLike; 1224 1225 /** 1226 * Number of people who like this. 1227 * 1228 * @return Number of people who like this 1229 */ 1230 @java.lang.SuppressWarnings("all") 1231 public Long getCount() { 1232 return this.count; 1233 } 1234 1235 /** 1236 * Number of people who like this. 1237 * 1238 */ 1239 @java.lang.SuppressWarnings("all") 1240 public void setCount(final Long count) { 1241 this.count = count; 1242 } 1243 1244 /** 1245 * Abbreviated string representation of count. 1246 * 1247 * @return Abbreviated string representation of count 1248 */ 1249 @java.lang.SuppressWarnings("all") 1250 public String getCountString() { 1251 return this.countString; 1252 } 1253 1254 /** 1255 * Abbreviated string representation of count. 1256 * 1257 */ 1258 @java.lang.SuppressWarnings("all") 1259 public void setCountString(final String countString) { 1260 this.countString = countString; 1261 } 1262 1263 /** 1264 * Abbreviated string representation of count if the viewer likes the object. 1265 * 1266 * @return Abbreviated string representation of count if the viewer likes the object 1267 */ 1268 @java.lang.SuppressWarnings("all") 1269 public String getCountStringWithLike() { 1270 return this.countStringWithLike; 1271 } 1272 1273 /** 1274 * Abbreviated string representation of count if the viewer likes the object. 1275 * 1276 */ 1277 @java.lang.SuppressWarnings("all") 1278 public void setCountStringWithLike(final String countStringWithLike) { 1279 this.countStringWithLike = countStringWithLike; 1280 } 1281 1282 /** 1283 * Abbreviated string representation of count if the viewer does not like the object. 1284 * 1285 * @return Abbreviated string representation of count if the viewer does not like the object 1286 */ 1287 @java.lang.SuppressWarnings("all") 1288 public String getCountStringWithoutLike() { 1289 return this.countStringWithoutLike; 1290 } 1291 1292 /** 1293 * Abbreviated string representation of count if the viewer does not like the object. 1294 * 1295 */ 1296 @java.lang.SuppressWarnings("all") 1297 public void setCountStringWithoutLike(final String countStringWithoutLike) { 1298 this.countStringWithoutLike = countStringWithoutLike; 1299 } 1300 1301 /** 1302 * Text that the like button would currently display. 1303 * 1304 * @return Text that the like button would currently display 1305 */ 1306 @java.lang.SuppressWarnings("all") 1307 public String getSocialSentence() { 1308 return this.socialSentence; 1309 } 1310 1311 /** 1312 * Text that the like button would currently display. 1313 * 1314 */ 1315 @java.lang.SuppressWarnings("all") 1316 public void setSocialSentence(final String socialSentence) { 1317 this.socialSentence = socialSentence; 1318 } 1319 1320 /** 1321 * Text that the like button would display if the viewer likes the object. 1322 * 1323 * @return Text that the like button would display if the viewer likes the object 1324 */ 1325 @java.lang.SuppressWarnings("all") 1326 public String getSocialSentenceWithLike() { 1327 return this.socialSentenceWithLike; 1328 } 1329 1330 /** 1331 * Text that the like button would display if the viewer likes the object. 1332 * 1333 */ 1334 @java.lang.SuppressWarnings("all") 1335 public void setSocialSentenceWithLike(final String socialSentenceWithLike) { 1336 this.socialSentenceWithLike = socialSentenceWithLike; 1337 } 1338 1339 /** 1340 * Text that the like button would display if the viewer does not like the object. 1341 * 1342 * @return Text that the like button would display if the viewer does not like the object 1343 */ 1344 @java.lang.SuppressWarnings("all") 1345 public String getSocialSentenceWithoutLike() { 1346 return this.socialSentenceWithoutLike; 1347 } 1348 1349 /** 1350 * Text that the like button would display if the viewer does not like the object. 1351 * 1352 */ 1353 @java.lang.SuppressWarnings("all") 1354 public void setSocialSentenceWithoutLike(final String socialSentenceWithoutLike) { 1355 this.socialSentenceWithoutLike = socialSentenceWithoutLike; 1356 } 1357 } 1358 1359 1360 /** 1361 * Represents the <a href="https://developers.facebook.com/docs/graph-api/reference/voip-info/">VOIP Info Graph API 1362 * type</a>. 1363 * 1364 * @since 1.10.0 1365 */ 1366 public static class VoipInfo extends AbstractFacebookType { 1367 private static final long serialVersionUID = 1L; 1368 @Facebook("has_permission") 1369 private Boolean hasPermission; 1370 @Facebook("has_mobile_app") 1371 private Boolean hasMobileApp; 1372 @Facebook("is_pushable") 1373 private Boolean isPushable; 1374 @Facebook("is_callable") 1375 private Boolean isCallable; 1376 @Facebook("is_callable_webrtc") 1377 private Boolean isCallableWebrtc; 1378 @Facebook("reason_code") 1379 private Long reasonCode; 1380 @Facebook("reason_description") 1381 private String reasonDescription; 1382 1383 @java.lang.SuppressWarnings("all") 1384 public Boolean getHasPermission() { 1385 return this.hasPermission; 1386 } 1387 1388 @java.lang.SuppressWarnings("all") 1389 public void setHasPermission(final Boolean hasPermission) { 1390 this.hasPermission = hasPermission; 1391 } 1392 1393 @java.lang.SuppressWarnings("all") 1394 public Boolean getHasMobileApp() { 1395 return this.hasMobileApp; 1396 } 1397 1398 @java.lang.SuppressWarnings("all") 1399 public void setHasMobileApp(final Boolean hasMobileApp) { 1400 this.hasMobileApp = hasMobileApp; 1401 } 1402 1403 @java.lang.SuppressWarnings("all") 1404 public Boolean getIsPushable() { 1405 return this.isPushable; 1406 } 1407 1408 @java.lang.SuppressWarnings("all") 1409 public void setIsPushable(final Boolean isPushable) { 1410 this.isPushable = isPushable; 1411 } 1412 1413 @java.lang.SuppressWarnings("all") 1414 public Boolean getIsCallable() { 1415 return this.isCallable; 1416 } 1417 1418 @java.lang.SuppressWarnings("all") 1419 public void setIsCallable(final Boolean isCallable) { 1420 this.isCallable = isCallable; 1421 } 1422 1423 @java.lang.SuppressWarnings("all") 1424 public Boolean getIsCallableWebrtc() { 1425 return this.isCallableWebrtc; 1426 } 1427 1428 @java.lang.SuppressWarnings("all") 1429 public void setIsCallableWebrtc(final Boolean isCallableWebrtc) { 1430 this.isCallableWebrtc = isCallableWebrtc; 1431 } 1432 1433 @java.lang.SuppressWarnings("all") 1434 public Long getReasonCode() { 1435 return this.reasonCode; 1436 } 1437 1438 @java.lang.SuppressWarnings("all") 1439 public void setReasonCode(final Long reasonCode) { 1440 this.reasonCode = reasonCode; 1441 } 1442 1443 @java.lang.SuppressWarnings("all") 1444 public String getReasonDescription() { 1445 return this.reasonDescription; 1446 } 1447 1448 @java.lang.SuppressWarnings("all") 1449 public void setReasonDescription(final String reasonDescription) { 1450 this.reasonDescription = reasonDescription; 1451 } 1452 } 1453 1454 1455 /** 1456 * Represents the <a href="https://developers.facebook.com/docs/graph-api/reference/page-start-info/">Page Start Info 1457 * Graph API type</a>. 1458 * 1459 * @since 1.10.0 1460 */ 1461 public static class PageStartInfo extends AbstractFacebookType { 1462 private static final long serialVersionUID = 1L; 1463 @Facebook 1464 private String type; 1465 @Facebook 1466 private PageStartDate date; 1467 1468 @java.lang.SuppressWarnings("all") 1469 public String getType() { 1470 return this.type; 1471 } 1472 1473 @java.lang.SuppressWarnings("all") 1474 public void setType(final String type) { 1475 this.type = type; 1476 } 1477 1478 @java.lang.SuppressWarnings("all") 1479 public PageStartDate getDate() { 1480 return this.date; 1481 } 1482 1483 @java.lang.SuppressWarnings("all") 1484 public void setDate(final PageStartDate date) { 1485 this.date = date; 1486 } 1487 } 1488 1489 1490 public static class PageStartDate extends AbstractFacebookType { 1491 private static final long serialVersionUID = 1L; 1492 @Facebook 1493 private Integer year; 1494 @Facebook 1495 private Integer month; 1496 @Facebook 1497 private Integer day; 1498 1499 @java.lang.SuppressWarnings("all") 1500 public Integer getYear() { 1501 return this.year; 1502 } 1503 1504 @java.lang.SuppressWarnings("all") 1505 public void setYear(final Integer year) { 1506 this.year = year; 1507 } 1508 1509 @java.lang.SuppressWarnings("all") 1510 public Integer getMonth() { 1511 return this.month; 1512 } 1513 1514 @java.lang.SuppressWarnings("all") 1515 public void setMonth(final Integer month) { 1516 this.month = month; 1517 } 1518 1519 @java.lang.SuppressWarnings("all") 1520 public Integer getDay() { 1521 return this.day; 1522 } 1523 1524 @java.lang.SuppressWarnings("all") 1525 public void setDay(final Integer day) { 1526 this.day = day; 1527 } 1528 } 1529 1530 1531 /** 1532 * Represents the <a href="https://developers.facebook.com/docs/graph-api/reference/page-payment-options/">Page 1533 * Payment Options Graph API type</a>. 1534 * 1535 * @since 1.10.0 1536 */ 1537 public static class PagePaymentOptions extends AbstractFacebookType { 1538 private static final long serialVersionUID = 1L; 1539 /** 1540 * Whether the business accepts American Express as a payment option. 1541 */ 1542 @Facebook 1543 private Boolean amex; 1544 /** 1545 * Whether the business accepts cash only as a payment option. 1546 */ 1547 @Facebook("cash_only") 1548 private Boolean cashOnly; 1549 /** 1550 * Whether the business accepts Discover as a payment option. 1551 */ 1552 @Facebook 1553 private Boolean discover; 1554 /** 1555 * Whether the business accepts MasterCard as a payment option. 1556 */ 1557 @Facebook 1558 private Boolean mastercard; 1559 /** 1560 * Whether the business accepts Visa as a payment option. 1561 */ 1562 @Facebook 1563 private Boolean visa; 1564 1565 /** 1566 * Whether the business accepts American Express as a payment option. 1567 */ 1568 @java.lang.SuppressWarnings("all") 1569 public Boolean getAmex() { 1570 return this.amex; 1571 } 1572 1573 /** 1574 * Whether the business accepts American Express as a payment option. 1575 */ 1576 @java.lang.SuppressWarnings("all") 1577 public void setAmex(final Boolean amex) { 1578 this.amex = amex; 1579 } 1580 1581 /** 1582 * Whether the business accepts cash only as a payment option. 1583 */ 1584 @java.lang.SuppressWarnings("all") 1585 public Boolean getCashOnly() { 1586 return this.cashOnly; 1587 } 1588 1589 /** 1590 * Whether the business accepts cash only as a payment option. 1591 */ 1592 @java.lang.SuppressWarnings("all") 1593 public void setCashOnly(final Boolean cashOnly) { 1594 this.cashOnly = cashOnly; 1595 } 1596 1597 /** 1598 * Whether the business accepts Discover as a payment option. 1599 */ 1600 @java.lang.SuppressWarnings("all") 1601 public Boolean getDiscover() { 1602 return this.discover; 1603 } 1604 1605 /** 1606 * Whether the business accepts Discover as a payment option. 1607 */ 1608 @java.lang.SuppressWarnings("all") 1609 public void setDiscover(final Boolean discover) { 1610 this.discover = discover; 1611 } 1612 1613 /** 1614 * Whether the business accepts MasterCard as a payment option. 1615 */ 1616 @java.lang.SuppressWarnings("all") 1617 public Boolean getMastercard() { 1618 return this.mastercard; 1619 } 1620 1621 /** 1622 * Whether the business accepts MasterCard as a payment option. 1623 */ 1624 @java.lang.SuppressWarnings("all") 1625 public void setMastercard(final Boolean mastercard) { 1626 this.mastercard = mastercard; 1627 } 1628 1629 /** 1630 * Whether the business accepts Visa as a payment option. 1631 */ 1632 @java.lang.SuppressWarnings("all") 1633 public Boolean getVisa() { 1634 return this.visa; 1635 } 1636 1637 /** 1638 * Whether the business accepts Visa as a payment option. 1639 */ 1640 @java.lang.SuppressWarnings("all") 1641 public void setVisa(final Boolean visa) { 1642 this.visa = visa; 1643 } 1644 } 1645 1646 1647 /** 1648 * Represents the <a href="https://developers.facebook.com/docs/graph-api/reference/page-restaurant-services/">Page 1649 * Restaurant Services Graph API type</a>. 1650 * 1651 * @since 1.10.0 1652 */ 1653 public static class PageRestaurantServices extends AbstractFacebookType { 1654 private static final long serialVersionUID = 1L; 1655 @Facebook 1656 private Boolean catering; 1657 @Facebook 1658 private Boolean delivery; 1659 @Facebook 1660 private Boolean groups; 1661 @Facebook 1662 private Boolean kids; 1663 @Facebook 1664 private Boolean outdoor; 1665 @Facebook 1666 private Boolean reserve; 1667 @Facebook 1668 private Boolean takeout; 1669 @Facebook 1670 private Boolean waiter; 1671 @Facebook 1672 private Boolean walkins; 1673 1674 @java.lang.SuppressWarnings("all") 1675 public Boolean getCatering() { 1676 return this.catering; 1677 } 1678 1679 @java.lang.SuppressWarnings("all") 1680 public void setCatering(final Boolean catering) { 1681 this.catering = catering; 1682 } 1683 1684 @java.lang.SuppressWarnings("all") 1685 public Boolean getDelivery() { 1686 return this.delivery; 1687 } 1688 1689 @java.lang.SuppressWarnings("all") 1690 public void setDelivery(final Boolean delivery) { 1691 this.delivery = delivery; 1692 } 1693 1694 @java.lang.SuppressWarnings("all") 1695 public Boolean getGroups() { 1696 return this.groups; 1697 } 1698 1699 @java.lang.SuppressWarnings("all") 1700 public void setGroups(final Boolean groups) { 1701 this.groups = groups; 1702 } 1703 1704 @java.lang.SuppressWarnings("all") 1705 public Boolean getKids() { 1706 return this.kids; 1707 } 1708 1709 @java.lang.SuppressWarnings("all") 1710 public void setKids(final Boolean kids) { 1711 this.kids = kids; 1712 } 1713 1714 @java.lang.SuppressWarnings("all") 1715 public Boolean getOutdoor() { 1716 return this.outdoor; 1717 } 1718 1719 @java.lang.SuppressWarnings("all") 1720 public void setOutdoor(final Boolean outdoor) { 1721 this.outdoor = outdoor; 1722 } 1723 1724 @java.lang.SuppressWarnings("all") 1725 public Boolean getReserve() { 1726 return this.reserve; 1727 } 1728 1729 @java.lang.SuppressWarnings("all") 1730 public void setReserve(final Boolean reserve) { 1731 this.reserve = reserve; 1732 } 1733 1734 @java.lang.SuppressWarnings("all") 1735 public Boolean getTakeout() { 1736 return this.takeout; 1737 } 1738 1739 @java.lang.SuppressWarnings("all") 1740 public void setTakeout(final Boolean takeout) { 1741 this.takeout = takeout; 1742 } 1743 1744 @java.lang.SuppressWarnings("all") 1745 public Boolean getWaiter() { 1746 return this.waiter; 1747 } 1748 1749 @java.lang.SuppressWarnings("all") 1750 public void setWaiter(final Boolean waiter) { 1751 this.waiter = waiter; 1752 } 1753 1754 @java.lang.SuppressWarnings("all") 1755 public Boolean getWalkins() { 1756 return this.walkins; 1757 } 1758 1759 @java.lang.SuppressWarnings("all") 1760 public void setWalkins(final Boolean walkins) { 1761 this.walkins = walkins; 1762 } 1763 } 1764 1765 1766 /** 1767 * Represents the <a href="https://developers.facebook.com/docs/graph-api/reference/page-restaurant-specialties/">Page 1768 * Restaurant Specialties Graph API type</a>. 1769 * 1770 * @since 1.10.0 1771 */ 1772 public static class PageRestaurantSpecialties extends AbstractFacebookType { 1773 private static final long serialVersionUID = 1L; 1774 @Facebook 1775 private Boolean breakfast; 1776 @Facebook 1777 private Boolean coffee; 1778 @Facebook 1779 private Boolean dinner; 1780 @Facebook 1781 private Boolean drinks; 1782 @Facebook 1783 private Boolean lunch; 1784 1785 @java.lang.SuppressWarnings("all") 1786 public Boolean getBreakfast() { 1787 return this.breakfast; 1788 } 1789 1790 @java.lang.SuppressWarnings("all") 1791 public void setBreakfast(final Boolean breakfast) { 1792 this.breakfast = breakfast; 1793 } 1794 1795 @java.lang.SuppressWarnings("all") 1796 public Boolean getCoffee() { 1797 return this.coffee; 1798 } 1799 1800 @java.lang.SuppressWarnings("all") 1801 public void setCoffee(final Boolean coffee) { 1802 this.coffee = coffee; 1803 } 1804 1805 @java.lang.SuppressWarnings("all") 1806 public Boolean getDinner() { 1807 return this.dinner; 1808 } 1809 1810 @java.lang.SuppressWarnings("all") 1811 public void setDinner(final Boolean dinner) { 1812 this.dinner = dinner; 1813 } 1814 1815 @java.lang.SuppressWarnings("all") 1816 public Boolean getDrinks() { 1817 return this.drinks; 1818 } 1819 1820 @java.lang.SuppressWarnings("all") 1821 public void setDrinks(final Boolean drinks) { 1822 this.drinks = drinks; 1823 } 1824 1825 @java.lang.SuppressWarnings("all") 1826 public Boolean getLunch() { 1827 return this.lunch; 1828 } 1829 1830 @java.lang.SuppressWarnings("all") 1831 public void setLunch(final Boolean lunch) { 1832 this.lunch = lunch; 1833 } 1834 } 1835 1836 1837 /** 1838 * Parking options for a Page. Useful for Facebook Pages that have a business with parking. 1839 */ 1840 public static class PageParking extends AbstractFacebookType { 1841 private static final long serialVersionUID = 1L; 1842 /** 1843 * Whether lot parking is available 1844 */ 1845 @Facebook 1846 private Boolean lot; 1847 /** 1848 * Whether street parking is available 1849 */ 1850 @Facebook 1851 private Boolean street; 1852 /** 1853 * Whether valet parking is available 1854 */ 1855 @Facebook 1856 private Boolean valet; 1857 1858 /** 1859 * Whether lot parking is available 1860 */ 1861 @java.lang.SuppressWarnings("all") 1862 public Boolean getLot() { 1863 return this.lot; 1864 } 1865 1866 /** 1867 * Whether lot parking is available 1868 */ 1869 @java.lang.SuppressWarnings("all") 1870 public void setLot(final Boolean lot) { 1871 this.lot = lot; 1872 } 1873 1874 /** 1875 * Whether street parking is available 1876 */ 1877 @java.lang.SuppressWarnings("all") 1878 public Boolean getStreet() { 1879 return this.street; 1880 } 1881 1882 /** 1883 * Whether street parking is available 1884 */ 1885 @java.lang.SuppressWarnings("all") 1886 public void setStreet(final Boolean street) { 1887 this.street = street; 1888 } 1889 1890 /** 1891 * Whether valet parking is available 1892 */ 1893 @java.lang.SuppressWarnings("all") 1894 public Boolean getValet() { 1895 return this.valet; 1896 } 1897 1898 /** 1899 * Whether valet parking is available 1900 */ 1901 @java.lang.SuppressWarnings("all") 1902 public void setValet(final Boolean valet) { 1903 this.valet = valet; 1904 } 1905 } 1906 1907 1908 /** 1909 * Represents the <a href="https://developers.facebook.com/docs/graph-api/reference/page-settings/">Page Settings 1910 * Graph API type</a>. 1911 * 1912 * @since 1.10.0 1913 */ 1914 public static class Settings extends AbstractFacebookType { 1915 private static final long serialVersionUID = 1L; 1916 @Facebook 1917 private String setting; 1918 @Facebook 1919 private String value; 1920 1921 /** 1922 * convert the value field in a boolean and return it. 1923 * 1924 * Every value that's not the String "true" (case is ignored) is <code>false</code>! 1925 * 1926 * @return the value field as boolean. 1927 */ 1928 public boolean getValueAsBoolean() { 1929 return Boolean.parseBoolean(value); 1930 } 1931 1932 /** 1933 * Takes the value and converts it into a json object if possible. 1934 * 1935 * May throw a JsonException 1936 * 1937 * @return 1938 */ 1939 public JsonObject getValueAsJsonObject() { 1940 return Json.parse(value).asObject(); 1941 } 1942 1943 @java.lang.SuppressWarnings("all") 1944 public String getSetting() { 1945 return this.setting; 1946 } 1947 1948 @java.lang.SuppressWarnings("all") 1949 public void setSetting(final String setting) { 1950 this.setting = setting; 1951 } 1952 1953 @java.lang.SuppressWarnings("all") 1954 public String getValue() { 1955 return this.value; 1956 } 1957 1958 @java.lang.SuppressWarnings("all") 1959 public void setValue(final String value) { 1960 this.value = value; 1961 } 1962 } 1963 1964 /** 1965 * External accounts. Applicable to Pages representing people 1966 * 1967 * @return the list of screen names 1968 */ 1969 public List<ScreenName> getScreenNames() { 1970 return unmodifiableList(screenNames); 1971 } 1972 1973 public boolean addScreenName(ScreenName screenName) { 1974 return screenNames.add(screenName); 1975 } 1976 1977 public boolean removeScreenName(ScreenName screenName) { 1978 return screenNames.remove(screenName); 1979 } 1980 1981 /** 1982 * the sub category list 1983 * 1984 * @return the sub category list 1985 * @since 1.6.15 1986 */ 1987 public List<Category> getCategoryList() { 1988 return unmodifiableList(categoryList); 1989 } 1990 1991 public boolean addCategory(Category category) { 1992 return categoryList.add(category); 1993 } 1994 1995 public boolean removeCategory(Category category) { 1996 return categoryList.remove(category); 1997 } 1998 1999 /** 2000 * The emails listed in the About section of a Page. 2001 * 2002 * @return The emails listed in the About section of a Page 2003 * @since 1.10.0 2004 */ 2005 public List<String> getEmails() { 2006 return unmodifiableList(emails); 2007 } 2008 2009 public boolean addEmail(String email) { 2010 return emails.add(email); 2011 } 2012 2013 public boolean removeEmail(String email) { 2014 return emails.remove(email); 2015 } 2016 2017 /** 2018 * The restaurant's food styles. Applicable to Restaurants 2019 * 2020 * @return The restaurant's food styles 2021 * @since 1.10.0 2022 */ 2023 public List<String> getFoodStyles() { 2024 return unmodifiableList(foodStyles); 2025 } 2026 2027 public boolean addFoodStyle(String foodStyle) { 2028 return foodStyles.add(foodStyle); 2029 } 2030 2031 public boolean removeFoodStyle(String foodStyle) { 2032 return foodStyles.remove(foodStyle); 2033 } 2034 2035 /** 2036 * Notes of this page 2037 * 2038 * @return Notes of this page 2039 * @deprecated with Graph API 12 or December 13, 2021 for all versions 2040 */ 2041 @Deprecated 2042 @GraphAPI(since = "2.6", until = "12.0") 2043 public List<PageAdminNote> getAdminNotes() { 2044 return unmodifiableList(adminNotes); 2045 } 2046 2047 @Deprecated 2048 public boolean addAdminNote(PageAdminNote adminNote) { 2049 return adminNotes.add(adminNote); 2050 } 2051 2052 @Deprecated 2053 public boolean removeAdminNote(PageAdminNote adminNote) { 2054 return adminNotes.remove(adminNote); 2055 } 2056 2057 /** 2058 * Page labels of this page 2059 * 2060 * @return labels of this page 2061 */ 2062 @GraphAPI(since = "2.6") 2063 public List<PageLabel> getLabels() { 2064 return unmodifiableList(labels); 2065 } 2066 2067 public boolean addLabel(PageLabel label) { 2068 return labels.add(label); 2069 } 2070 2071 public boolean removeLabels(PageLabel label) { 2072 return labels.remove(label); 2073 } 2074 2075 /** 2076 * Linked Instagram accounts for this Page 2077 */ 2078 public List<InstagramUser> getInstagramAccounts() { 2079 return unmodifiableList(instagramAccounts); 2080 } 2081 2082 public boolean addInstagramAccount(InstagramUser igUser) { 2083 return instagramAccounts.add(igUser); 2084 } 2085 2086 public boolean removeInstagramAccount(InstagramUser igUser) { 2087 return instagramAccounts.remove(igUser); 2088 } 2089 2090 @JsonMappingCompleted 2091 protected void convertLabels(JsonMapper jsonMapper) { 2092 JsonObject rawLabels = null; 2093 if (this.rawLabels != null) { 2094 JsonValue jsonValue = Json.parse(this.rawLabels); 2095 if (jsonValue.isObject()) { 2096 rawLabels = jsonValue.asObject(); 2097 } 2098 } 2099 if (rawLabels != null && rawLabels.isObject()) { 2100 String innerLabelsString = rawLabels.get("data").toString(); 2101 labels = jsonMapper.toJavaList(innerLabelsString, PageLabel.class); 2102 } 2103 } 2104 2105 @JsonMappingCompleted 2106 protected void fillProfilePicture(JsonMapper jsonMapper) { 2107 picture = convertPicture(jsonMapper, rawPicture); 2108 } 2109 2110 @JsonMappingCompleted 2111 protected void graphApi26LikesFallback() { 2112 if (getFanCount() != null && getLikesCount() == null) { 2113 likesCount = fanCount; 2114 } 2115 if (getFanCount() == null && getLikesCount() != null) { 2116 fanCount = likesCount; 2117 } 2118 } 2119 2120 @JsonMappingCompleted 2121 protected void convertHours() { 2122 if (rawHours != null && !rawHours.isEmpty()) { 2123 Hours hoursObj = new Hours(); 2124 for (JsonObject entry : rawHours) { 2125 hoursObj.addHour(entry.getString("key", ""), entry.getString("value", "")); 2126 } 2127 hours = hoursObj; 2128 } 2129 if (rawHoursMap != null && !rawHoursMap.isEmpty()) { 2130 Hours hoursObj = new Hours(); 2131 for (Map.Entry<String, String> entry : rawHoursMap.entrySet()) { 2132 hoursObj.addHour(entry.getKey(), entry.getValue()); 2133 } 2134 hours = hoursObj; 2135 } 2136 } 2137 2138 /** 2139 * The pages's profile picture, if provided. 2140 * 2141 * To force Facebook to fill the <code>picture</code> field you have to fetch the page with the 2142 * <code>fields=picture</code> parameter, otherwise the picture is <code>null</code>. 2143 * 2144 * @return the page's profile picture as ProfilePictureSource object 2145 */ 2146 @Override 2147 @java.lang.SuppressWarnings("all") 2148 public ProfilePictureSource getPicture() { 2149 return this.picture; 2150 } 2151 2152 /** 2153 * The pages's profile picture, if provided. 2154 * 2155 * To force Facebook to fill the <code>picture</code> field you have to fetch the page with the 2156 * <code>fields=picture</code> parameter, otherwise the picture is <code>null</code>. 2157 * 2158 */ 2159 @java.lang.SuppressWarnings("all") 2160 public void setPicture(final ProfilePictureSource picture) { 2161 this.picture = picture; 2162 } 2163 2164 /** 2165 * Affiliation of this person. Applicable to Pages representing people 2166 * 2167 * @since 1.10.0 2168 * @return affiliation of this person 2169 */ 2170 @java.lang.SuppressWarnings("all") 2171 public String getAffiliation() { 2172 return this.affiliation; 2173 } 2174 2175 /** 2176 * Affiliation of this person. Applicable to Pages representing people 2177 * 2178 * @since 1.10.0 2179 */ 2180 @java.lang.SuppressWarnings("all") 2181 public void setAffiliation(final String affiliation) { 2182 this.affiliation = affiliation; 2183 } 2184 2185 /** 2186 * App ID for app-owned Pages and app Pages. 2187 * 2188 * @return App ID for app-owned Pages and app Pages 2189 */ 2190 @java.lang.SuppressWarnings("all") 2191 public String getAppId() { 2192 return this.appId; 2193 } 2194 2195 /** 2196 * App ID for app-owned Pages and app Pages. 2197 */ 2198 @java.lang.SuppressWarnings("all") 2199 public void setAppId(final String appId) { 2200 this.appId = appId; 2201 } 2202 2203 /** 2204 * Artists the band likes. Applicable to Bands 2205 * 2206 * @since 1.10.0 2207 * @return artists the band likes 2208 */ 2209 @java.lang.SuppressWarnings("all") 2210 public String getArtistsWeLike() { 2211 return this.artistsWeLike; 2212 } 2213 2214 /** 2215 * Artists the band likes. Applicable to Bands 2216 * 2217 * @since 1.10.0 2218 */ 2219 @java.lang.SuppressWarnings("all") 2220 public void setArtistsWeLike(final String artistsWeLike) { 2221 this.artistsWeLike = artistsWeLike; 2222 } 2223 2224 /** 2225 * relevance score of an asset. 2226 * 2227 * @return relevance score of an asset 2228 */ 2229 @java.lang.SuppressWarnings("all") 2230 public Double getAssetScore() { 2231 return this.assetScore; 2232 } 2233 2234 /** 2235 * relevance score of an asset. 2236 */ 2237 @java.lang.SuppressWarnings("all") 2238 public void setAssetScore(final Double assetScore) { 2239 this.assetScore = assetScore; 2240 } 2241 2242 /** 2243 * Dress code of the business. Applicable to Restaurants or Nightlife. Can be one of Casual, Dressy or Unspecified 2244 * 2245 * @since 1.10.0 2246 * @return dress code of the business 2247 */ 2248 @java.lang.SuppressWarnings("all") 2249 public String getAttire() { 2250 return this.attire; 2251 } 2252 2253 /** 2254 * Dress code of the business. Applicable to Restaurants or Nightlife. Can be one of Casual, Dressy or Unspecified 2255 * 2256 * @since 1.10.0 2257 */ 2258 @java.lang.SuppressWarnings("all") 2259 public void setAttire(final String attire) { 2260 this.attire = attire; 2261 } 2262 2263 /** 2264 * The awards information of the film. Applicable to Films 2265 * 2266 * @since 1.10.0 2267 * @return the awards information of the film 2268 */ 2269 @java.lang.SuppressWarnings("all") 2270 public String getAwards() { 2271 return this.awards; 2272 } 2273 2274 /** 2275 * The awards information of the film. Applicable to Films 2276 * 2277 * @since 1.10.0 2278 */ 2279 @java.lang.SuppressWarnings("all") 2280 public void setAwards(final String awards) { 2281 this.awards = awards; 2282 } 2283 2284 /** 2285 * Band interests. Applicable to Bands 2286 * 2287 * @since 1.10.0 2288 * @return band interests 2289 */ 2290 @java.lang.SuppressWarnings("all") 2291 public String getBandInterests() { 2292 return this.bandInterests; 2293 } 2294 2295 /** 2296 * Band interests. Applicable to Bands 2297 * 2298 * @since 1.10.0 2299 */ 2300 @java.lang.SuppressWarnings("all") 2301 public void setBandInterests(final String bandInterests) { 2302 this.bandInterests = bandInterests; 2303 } 2304 2305 /** 2306 * Members of the band. Applicable to Bands 2307 * 2308 * @since 1.10.0 2309 * @return members of the band 2310 */ 2311 @java.lang.SuppressWarnings("all") 2312 public String getBandMembers() { 2313 return this.bandMembers; 2314 } 2315 2316 /** 2317 * Members of the band. Applicable to Bands 2318 * 2319 * @since 1.10.0 2320 */ 2321 @java.lang.SuppressWarnings("all") 2322 public void setBandMembers(final String bandMembers) { 2323 this.bandMembers = bandMembers; 2324 } 2325 2326 /** 2327 * The best available Page on Facebook for the concept represented by this Page. The best available Page takes into 2328 * account authenticity and the number of likes 2329 * 2330 * @since 1.10.0 2331 * @return The best available Page on Facebook for the concept represented by this Page 2332 */ 2333 @java.lang.SuppressWarnings("all") 2334 public Page getBestPage() { 2335 return this.bestPage; 2336 } 2337 2338 /** 2339 * The best available Page on Facebook for the concept represented by this Page. The best available Page takes into 2340 * account authenticity and the number of likes 2341 * 2342 * @since 1.10.0 2343 */ 2344 @java.lang.SuppressWarnings("all") 2345 public void setBestPage(final Page bestPage) { 2346 this.bestPage = bestPage; 2347 } 2348 2349 /** 2350 * The mailing or contact address for this page. This field will be blank if the contact address is the same as the 2351 * physical address 2352 * 2353 * @since 1.10.0 2354 * @return The mailing or contact address for this page 2355 */ 2356 @java.lang.SuppressWarnings("all") 2357 public MailingAddress getContactAddress() { 2358 return this.contactAddress; 2359 } 2360 2361 /** 2362 * The mailing or contact address for this page. This field will be blank if the contact address is the same as the 2363 * physical address 2364 * 2365 * @since 1.10.0 2366 */ 2367 @java.lang.SuppressWarnings("all") 2368 public void setContactAddress(final MailingAddress contactAddress) { 2369 this.contactAddress = contactAddress; 2370 } 2371 2372 /** 2373 * If this is a Page in a Global Pages hierarchy, the number of people who are being directed to this Page. 2374 * 2375 * @return If this is a Page in a Global Pages hierarchy, the number of people who are being directed to this Page. 2376 */ 2377 @java.lang.SuppressWarnings("all") 2378 public Integer getCountryPageLikes() { 2379 return this.countryPageLikes; 2380 } 2381 2382 /** 2383 * If this is a Page in a Global Pages hierarchy, the number of people who are being directed to this Page. 2384 */ 2385 @java.lang.SuppressWarnings("all") 2386 public void setCountryPageLikes(final Integer countryPageLikes) { 2387 this.countryPageLikes = countryPageLikes; 2388 } 2389 2390 /** 2391 * The Page's category. e.g. Product/Service, Computers/Technology 2392 * 2393 * @return The Page's category. e.g. Product/Service, Computers/Technology 2394 */ 2395 @java.lang.SuppressWarnings("all") 2396 public String getCategory() { 2397 return this.category; 2398 } 2399 2400 /** 2401 * The Page's category. e.g. Product/Service, Computers/Technology 2402 */ 2403 @java.lang.SuppressWarnings("all") 2404 public void setCategory(final String category) { 2405 this.category = category; 2406 } 2407 2408 /** 2409 * Biography of the band. Applicable to Bands 2410 * 2411 * @since 1.10.0 2412 * @return Biography of the band 2413 */ 2414 @java.lang.SuppressWarnings("all") 2415 public String getBio() { 2416 return this.bio; 2417 } 2418 2419 /** 2420 * Biography of the band. Applicable to Bands 2421 * 2422 * @since 1.10.0 2423 */ 2424 @java.lang.SuppressWarnings("all") 2425 public void setBio(final String bio) { 2426 this.bio = bio; 2427 } 2428 2429 /** 2430 * Birthday of this person. Applicable to Pages representing people 2431 * 2432 * @since 1.10.0 2433 * @return birthday of this person 2434 */ 2435 @java.lang.SuppressWarnings("all") 2436 public String getBirthday() { 2437 return this.birthday; 2438 } 2439 2440 /** 2441 * Birthday of this person. Applicable to Pages representing people 2442 * 2443 * @since 1.10.0 2444 */ 2445 @java.lang.SuppressWarnings("all") 2446 public void setBirthday(final String birthday) { 2447 this.birthday = birthday; 2448 } 2449 2450 /** 2451 * Year vehicle was built. Applicable to Vehicles 2452 * 2453 * @since 1.10.0 2454 * @return Year vehicle was built 2455 */ 2456 @java.lang.SuppressWarnings("all") 2457 public String getBuilt() { 2458 return this.built; 2459 } 2460 2461 /** 2462 * Year vehicle was built. Applicable to Vehicles 2463 * 2464 * @since 1.10.0 2465 */ 2466 @java.lang.SuppressWarnings("all") 2467 public void setBuilt(final String built) { 2468 this.built = built; 2469 } 2470 2471 /** 2472 * The Business associated with this Page. 2473 */ 2474 @java.lang.SuppressWarnings("all") 2475 public Business getBusiness() { 2476 return this.business; 2477 } 2478 2479 /** 2480 * The Business associated with this Page. 2481 */ 2482 @java.lang.SuppressWarnings("all") 2483 public void setBusiness(final Business business) { 2484 this.business = business; 2485 } 2486 2487 /** 2488 * Culinary team of the business. Applicable to Restaurants or Nightlife 2489 * 2490 * @since 1.10.0 2491 * @return culinary team of the business 2492 */ 2493 @java.lang.SuppressWarnings("all") 2494 public String getCulinaryTeam() { 2495 return this.culinaryTeam; 2496 } 2497 2498 /** 2499 * Culinary team of the business. Applicable to Restaurants or Nightlife 2500 * 2501 * @since 1.10.0 2502 */ 2503 @java.lang.SuppressWarnings("all") 2504 public void setCulinaryTeam(final String culinaryTeam) { 2505 this.culinaryTeam = culinaryTeam; 2506 } 2507 2508 /** 2509 * Current location of the Page. 2510 * 2511 * @since 1.10.0 2512 * @return current location of the Page 2513 */ 2514 @java.lang.SuppressWarnings("all") 2515 public String getCurrentLocation() { 2516 return this.currentLocation; 2517 } 2518 2519 /** 2520 * Current location of the Page. 2521 * 2522 * @since 1.10.0 2523 */ 2524 @java.lang.SuppressWarnings("all") 2525 public void setCurrentLocation(final String currentLocation) { 2526 this.currentLocation = currentLocation; 2527 } 2528 2529 /** 2530 * Features of the vehicle. Applicable to Vehicles 2531 * 2532 * @since 1.10.0 2533 * @return Features of the vehicle 2534 */ 2535 @java.lang.SuppressWarnings("all") 2536 public String getFeatures() { 2537 return this.features; 2538 } 2539 2540 /** 2541 * Features of the vehicle. Applicable to Vehicles 2542 * 2543 * @since 1.10.0 2544 */ 2545 @java.lang.SuppressWarnings("all") 2546 public void setFeatures(final String features) { 2547 this.features = features; 2548 } 2549 2550 /** 2551 * The name of the Page with country codes appended for Global Brand Pages. Only visible to the Page admin 2552 * 2553 * @since 1.10.0 2554 * @return The name of the Page with country codes appended for Global Brand Pages 2555 */ 2556 @java.lang.SuppressWarnings("all") 2557 public String getGlobalBrandPageName() { 2558 return this.globalBrandPageName; 2559 } 2560 2561 /** 2562 * The name of the Page with country codes appended for Global Brand Pages. Only visible to the Page admin 2563 * 2564 * @since 1.10.0 2565 */ 2566 @java.lang.SuppressWarnings("all") 2567 public void setGlobalBrandPageName(final String globalBrandPageName) { 2568 this.globalBrandPageName = globalBrandPageName; 2569 } 2570 2571 /** 2572 * This brand's global Root ID. 2573 * 2574 * @return This brand's global Root ID 2575 */ 2576 @java.lang.SuppressWarnings("all") 2577 public String getGlobalBrandRootId() { 2578 return this.globalBrandRootId; 2579 } 2580 2581 /** 2582 * This brand's global Root ID. 2583 */ 2584 @java.lang.SuppressWarnings("all") 2585 public void setGlobalBrandRootId(final String globalBrandRootId) { 2586 this.globalBrandRootId = globalBrandRootId; 2587 } 2588 2589 /** 2590 * This brand's global (parent) Page. 2591 * 2592 * @since 1.10.0 2593 * @return this brand's global (parent) Page 2594 */ 2595 @java.lang.SuppressWarnings("all") 2596 public Page getGlobalBrandParentPage() { 2597 return this.globalBrandParentPage; 2598 } 2599 2600 /** 2601 * This brand's global (parent) Page. 2602 * 2603 * @since 1.10.0 2604 */ 2605 @java.lang.SuppressWarnings("all") 2606 public void setGlobalBrandParentPage(final Page globalBrandParentPage) { 2607 this.globalBrandParentPage = globalBrandParentPage; 2608 } 2609 2610 /** 2611 * Indicates whether this Page has added the app making the query in a Page tab. 2612 * 2613 * @since 1.10.0 2614 * @return Indicates whether this Page has added the app making the query in a Page tab 2615 */ 2616 @java.lang.SuppressWarnings("all") 2617 public Boolean getHasAddedApp() { 2618 return this.hasAddedApp; 2619 } 2620 2621 /** 2622 * Indicates whether this Page has added the app making the query in a Page tab. 2623 * 2624 * @since 1.10.0 2625 */ 2626 @java.lang.SuppressWarnings("all") 2627 public void setHasAddedApp(final Boolean hasAddedApp) { 2628 this.hasAddedApp = hasAddedApp; 2629 } 2630 2631 /** 2632 * has whatsapp number 2633 * 2634 * @return has whatsapp number 2635 */ 2636 @java.lang.SuppressWarnings("all") 2637 public Boolean getHasWhatsappNumber() { 2638 return this.hasWhatsappNumber; 2639 } 2640 2641 /** 2642 * has whatsapp number 2643 */ 2644 @java.lang.SuppressWarnings("all") 2645 public void setHasWhatsappNumber(final Boolean hasWhatsappNumber) { 2646 this.hasWhatsappNumber = hasWhatsappNumber; 2647 } 2648 2649 /** 2650 * Indicates whether WhatsApp number connected to this page is a WhatsApp business number 2651 * 2652 * @return Whatsapp business number 2653 */ 2654 @java.lang.SuppressWarnings("all") 2655 public Boolean getHasWhatsappBusinessNumber() { 2656 return this.hasWhatsappBusinessNumber; 2657 } 2658 2659 /** 2660 * Indicates whether WhatsApp number connected to this page is a WhatsApp business number 2661 */ 2662 @java.lang.SuppressWarnings("all") 2663 public void setHasWhatsappBusinessNumber(final Boolean hasWhatsappBusinessNumber) { 2664 this.hasWhatsappBusinessNumber = hasWhatsappBusinessNumber; 2665 } 2666 2667 /** 2668 * Hometown of the band. Applicable to Bands 2669 * 2670 * @since 1.10.0 2671 * @return Hometown of the band 2672 */ 2673 @java.lang.SuppressWarnings("all") 2674 public String getHometown() { 2675 return this.hometown; 2676 } 2677 2678 /** 2679 * Hometown of the band. Applicable to Bands 2680 * 2681 * @since 1.10.0 2682 */ 2683 @java.lang.SuppressWarnings("all") 2684 public void setHometown(final String hometown) { 2685 this.hometown = hometown; 2686 } 2687 2688 /** 2689 * Opening hours 2690 * 2691 * @since 1.10.1 2692 */ 2693 @java.lang.SuppressWarnings("all") 2694 public Hours getHours() { 2695 return this.hours; 2696 } 2697 2698 /** 2699 * Opening hours 2700 * 2701 * @since 1.10.1 2702 */ 2703 @java.lang.SuppressWarnings("all") 2704 public void setHours(final Hours hours) { 2705 this.hours = hours; 2706 } 2707 2708 /** 2709 * Legal information about the Page publishers. 2710 * 2711 * @since 1.10.0 2712 * @return Legal information about the Page publishers 2713 */ 2714 @java.lang.SuppressWarnings("all") 2715 public String getImpressum() { 2716 return this.impressum; 2717 } 2718 2719 /** 2720 * Legal information about the Page publishers. 2721 * 2722 * @since 1.10.0 2723 */ 2724 @java.lang.SuppressWarnings("all") 2725 public void setImpressum(final String impressum) { 2726 this.impressum = impressum; 2727 } 2728 2729 /** 2730 * Influences on the band. Applicable to Bands 2731 * 2732 * @since 1.10.0 2733 * @return Influences on the band 2734 */ 2735 @java.lang.SuppressWarnings("all") 2736 public String getInfluences() { 2737 return this.influences; 2738 } 2739 2740 /** 2741 * Influences on the band. Applicable to Bands 2742 * 2743 * @since 1.10.0 2744 */ 2745 @java.lang.SuppressWarnings("all") 2746 public void setInfluences(final String influences) { 2747 this.influences = influences; 2748 } 2749 2750 /** 2751 * Whether the business corresponding to this Page is permanently closed. 2752 * 2753 * @since 1.10.0 2754 * @return Whether the business corresponding to this Page is permanently closed 2755 */ 2756 @java.lang.SuppressWarnings("all") 2757 public Boolean getIsPermanentlyClosed() { 2758 return this.isPermanentlyClosed; 2759 } 2760 2761 /** 2762 * Whether the business corresponding to this Page is permanently closed. 2763 * 2764 * @since 1.10.0 2765 */ 2766 @java.lang.SuppressWarnings("all") 2767 public void setIsPermanentlyClosed(final Boolean isPermanentlyClosed) { 2768 this.isPermanentlyClosed = isPermanentlyClosed; 2769 } 2770 2771 /** 2772 * owner business of this object 2773 * 2774 * @return owner business of this object 2775 */ 2776 @java.lang.SuppressWarnings("all") 2777 public Business getOwnerBusiness() { 2778 return this.ownerBusiness; 2779 } 2780 2781 /** 2782 * owner business of this object 2783 */ 2784 @java.lang.SuppressWarnings("all") 2785 public void setOwnerBusiness(final Business ownerBusiness) { 2786 this.ownerBusiness = ownerBusiness; 2787 } 2788 2789 /** 2790 * Overall page rating based on rating survey from users on a scale of 1-5. This value is normalized and is not 2791 * guaranteed to be a strict average of user ratings. If there are 0 or a small number of ratings, this field will not 2792 * be returned. 2793 */ 2794 @java.lang.SuppressWarnings("all") 2795 public Double getOverallStarRating() { 2796 return this.overallStarRating; 2797 } 2798 2799 /** 2800 * Overall page rating based on rating survey from users on a scale of 1-5. This value is normalized and is not 2801 * guaranteed to be a strict average of user ratings. If there are 0 or a small number of ratings, this field will not 2802 * be returned. 2803 */ 2804 @java.lang.SuppressWarnings("all") 2805 public void setOverallStarRating(final Double overallStarRating) { 2806 this.overallStarRating = overallStarRating; 2807 } 2808 2809 /** 2810 * Number of ratings for the page (limited to ratings that are publicly accessible 2811 */ 2812 @java.lang.SuppressWarnings("all") 2813 public Integer getRatingCount() { 2814 return this.ratingCount; 2815 } 2816 2817 /** 2818 * Number of ratings for the page (limited to ratings that are publicly accessible 2819 */ 2820 @java.lang.SuppressWarnings("all") 2821 public void setRatingCount(final Integer ratingCount) { 2822 this.ratingCount = ratingCount; 2823 } 2824 2825 /** 2826 * Messenger page scope id associated with page and a user using account_linking_token 2827 * 2828 * @return Messenger page scope id associated with page and a user using account_linking_token 2829 */ 2830 @java.lang.SuppressWarnings("all") 2831 public String getRecipient() { 2832 return this.recipient; 2833 } 2834 2835 /** 2836 * Messenger page scope id associated with page and a user using account_linking_token 2837 */ 2838 @java.lang.SuppressWarnings("all") 2839 public void setRecipient(final String recipient) { 2840 this.recipient = recipient; 2841 } 2842 2843 /** 2844 * Personal information. Applicable to Pages representing People 2845 * 2846 * @since 1.10.0 2847 * @return Personal information 2848 */ 2849 @java.lang.SuppressWarnings("all") 2850 public String getPersonalInfo() { 2851 return this.personalInfo; 2852 } 2853 2854 /** 2855 * Personal information. Applicable to Pages representing People 2856 * 2857 * @since 1.10.0 2858 */ 2859 @java.lang.SuppressWarnings("all") 2860 public void setPersonalInfo(final String personalInfo) { 2861 this.personalInfo = personalInfo; 2862 } 2863 2864 /** 2865 * Payment options accepted by the business. Applicable to Restaurants or Nightlife 2866 * 2867 * @since 1.10.0 2868 * @return Payment options accepted by the business 2869 */ 2870 @java.lang.SuppressWarnings("all") 2871 public PagePaymentOptions getPaymentOptions() { 2872 return this.paymentOptions; 2873 } 2874 2875 /** 2876 * Payment options accepted by the business. Applicable to Restaurants or Nightlife 2877 * 2878 * @since 1.10.0 2879 */ 2880 @java.lang.SuppressWarnings("all") 2881 public void setPaymentOptions(final PagePaymentOptions paymentOptions) { 2882 this.paymentOptions = paymentOptions; 2883 } 2884 2885 /** 2886 * Personal interests. Applicable to Pages representing People 2887 * 2888 * @since 1.10.0 2889 * @return Personal interests 2890 */ 2891 @java.lang.SuppressWarnings("all") 2892 public String getPersonalInterests() { 2893 return this.personalInterests; 2894 } 2895 2896 /** 2897 * Personal interests. Applicable to Pages representing People 2898 * 2899 * @since 1.10.0 2900 */ 2901 @java.lang.SuppressWarnings("all") 2902 public void setPersonalInterests(final String personalInterests) { 2903 this.personalInterests = personalInterests; 2904 } 2905 2906 /** 2907 * Pharmacy safety information. Applicable to Pharmaceutical companies 2908 * 2909 * @since 1.10.0 2910 * @return Pharmacy safety information 2911 */ 2912 @java.lang.SuppressWarnings("all") 2913 public String getPharmaSafetyInfo() { 2914 return this.pharmaSafetyInfo; 2915 } 2916 2917 /** 2918 * Pharmacy safety information. Applicable to Pharmaceutical companies 2919 * 2920 * @since 1.10.0 2921 */ 2922 @java.lang.SuppressWarnings("all") 2923 public void setPharmaSafetyInfo(final String pharmaSafetyInfo) { 2924 this.pharmaSafetyInfo = pharmaSafetyInfo; 2925 } 2926 2927 /** 2928 * For places, the category of the place. 2929 * 2930 * @return For places, the category of the place 2931 */ 2932 @java.lang.SuppressWarnings("all") 2933 public String getPlaceType() { 2934 return this.placeType; 2935 } 2936 2937 /** 2938 * For places, the category of the place. 2939 */ 2940 @java.lang.SuppressWarnings("all") 2941 public void setPlaceType(final String placeType) { 2942 this.placeType = placeType; 2943 } 2944 2945 /** 2946 * The plot outline of the film. Applicable to Films 2947 * 2948 * @since 1.10.0 2949 * @return The plot outline of the film 2950 */ 2951 @java.lang.SuppressWarnings("all") 2952 public String getPlotOutline() { 2953 return this.plotOutline; 2954 } 2955 2956 /** 2957 * The plot outline of the film. Applicable to Films 2958 * 2959 * @since 1.10.0 2960 */ 2961 @java.lang.SuppressWarnings("all") 2962 public void setPlotOutline(final String plotOutline) { 2963 this.plotOutline = plotOutline; 2964 } 2965 2966 /** 2967 * Price range of the business. Applicable to Restaurants or Nightlife. Can be one of $ (0-10), $$ (10-30), $$$ 2968 * (30-50), $$$$ (50+) or Unspecified 2969 * 2970 * @since 1.10.0 2971 * @return Price range of the business 2972 */ 2973 @java.lang.SuppressWarnings("all") 2974 public String getPriceRange() { 2975 return this.priceRange; 2976 } 2977 2978 /** 2979 * Price range of the business. Applicable to Restaurants or Nightlife. Can be one of $ (0-10), $$ (10-30), $$$ 2980 * (30-50), $$$$ (50+) or Unspecified 2981 * 2982 * @since 1.10.0 2983 */ 2984 @java.lang.SuppressWarnings("all") 2985 public void setPriceRange(final String priceRange) { 2986 this.priceRange = priceRange; 2987 } 2988 2989 /** 2990 * The productor of the film. Applicable to Films 2991 * 2992 * @since 1.10.0 2993 * @return The productor of the film 2994 */ 2995 @java.lang.SuppressWarnings("all") 2996 public String getProducedBy() { 2997 return this.producedBy; 2998 } 2999 3000 /** 3001 * The productor of the film. Applicable to Films 3002 * 3003 * @since 1.10.0 3004 */ 3005 @java.lang.SuppressWarnings("all") 3006 public void setProducedBy(final String producedBy) { 3007 this.producedBy = producedBy; 3008 } 3009 3010 /** 3011 * Reason why a post isn't eligible for boosting. Only visible to Page Admins 3012 * 3013 * @since 1.10.0 3014 * @return Reason why a post isn't eligible for boosting 3015 */ 3016 @java.lang.SuppressWarnings("all") 3017 public Boolean getPromotionEligible() { 3018 return this.promotionEligible; 3019 } 3020 3021 /** 3022 * Reason why a post isn't eligible for boosting. Only visible to Page Admins 3023 * 3024 * @since 1.10.0 3025 */ 3026 @java.lang.SuppressWarnings("all") 3027 public void setPromotionEligible(final Boolean promotionEligible) { 3028 this.promotionEligible = promotionEligible; 3029 } 3030 3031 /** 3032 * Reason, for which boosted posts are not eligible. Only visible to a page admin 3033 * 3034 * @since 1.10.0 3035 * @return Reason, for which boosted posts are not eligible 3036 */ 3037 @java.lang.SuppressWarnings("all") 3038 public String getPromotionIneligibleReason() { 3039 return this.promotionIneligibleReason; 3040 } 3041 3042 /** 3043 * Reason, for which boosted posts are not eligible. Only visible to a page admin 3044 * 3045 * @since 1.10.0 3046 */ 3047 @java.lang.SuppressWarnings("all") 3048 public void setPromotionIneligibleReason(final String promotionIneligibleReason) { 3049 this.promotionIneligibleReason = promotionIneligibleReason; 3050 } 3051 3052 /** 3053 * Public transit to the business. Applicable to Restaurants or Nightlife 3054 * 3055 * @since 1.10.0 3056 * @return Public transit to the business 3057 */ 3058 @java.lang.SuppressWarnings("all") 3059 public String getPublicTransit() { 3060 return this.publicTransit; 3061 } 3062 3063 /** 3064 * Public transit to the business. Applicable to Restaurants or Nightlife 3065 * 3066 * @since 1.10.0 3067 */ 3068 @java.lang.SuppressWarnings("all") 3069 public void setPublicTransit(final String publicTransit) { 3070 this.publicTransit = publicTransit; 3071 } 3072 3073 /** 3074 * Record label of the band. Applicable to Bands 3075 * 3076 * @since 1.10.0 3077 * @return Record label of the band 3078 */ 3079 @java.lang.SuppressWarnings("all") 3080 public String getRecordLabel() { 3081 return this.recordLabel; 3082 } 3083 3084 /** 3085 * Record label of the band. Applicable to Bands 3086 * 3087 * @since 1.10.0 3088 */ 3089 @java.lang.SuppressWarnings("all") 3090 public void setRecordLabel(final String recordLabel) { 3091 this.recordLabel = recordLabel; 3092 } 3093 3094 /** 3095 * The film's release date. Applicable to Films 3096 * 3097 * @since 1.10.0 3098 * @return The film's release date 3099 */ 3100 @java.lang.SuppressWarnings("all") 3101 public String getReleaseDate() { 3102 return this.releaseDate; 3103 } 3104 3105 /** 3106 * The film's release date. Applicable to Films 3107 * 3108 * @since 1.10.0 3109 */ 3110 @java.lang.SuppressWarnings("all") 3111 public void setReleaseDate(final String releaseDate) { 3112 this.releaseDate = releaseDate; 3113 } 3114 3115 /** 3116 * Services the restaurant provides. Applicable to Restaurants 3117 * 3118 * @since 1.10.0 3119 * @return Services the restaurant provides 3120 */ 3121 @java.lang.SuppressWarnings("all") 3122 public PageRestaurantServices getRestaurantServices() { 3123 return this.restaurantServices; 3124 } 3125 3126 /** 3127 * Services the restaurant provides. Applicable to Restaurants 3128 * 3129 * @since 1.10.0 3130 */ 3131 @java.lang.SuppressWarnings("all") 3132 public void setRestaurantServices(final PageRestaurantServices restaurantServices) { 3133 this.restaurantServices = restaurantServices; 3134 } 3135 3136 /** 3137 * The restaurant's specialties. Applicable to Restaurants 3138 * 3139 * @since 1.10.0 3140 * @return The restaurant's specialties 3141 */ 3142 @java.lang.SuppressWarnings("all") 3143 public PageRestaurantSpecialties getRestaurantSpecialties() { 3144 return this.restaurantSpecialties; 3145 } 3146 3147 /** 3148 * The restaurant's specialties. Applicable to Restaurants 3149 * 3150 * @since 1.10.0 3151 */ 3152 @java.lang.SuppressWarnings("all") 3153 public void setRestaurantSpecialties(final PageRestaurantSpecialties restaurantSpecialties) { 3154 this.restaurantSpecialties = restaurantSpecialties; 3155 } 3156 3157 /** 3158 * Unique store code for this location Page 3159 */ 3160 @java.lang.SuppressWarnings("all") 3161 public String getStoreCode() { 3162 return this.storeCode; 3163 } 3164 3165 /** 3166 * Unique store code for this location Page 3167 */ 3168 @java.lang.SuppressWarnings("all") 3169 public void setStoreCode(final String storeCode) { 3170 this.storeCode = storeCode; 3171 } 3172 3173 /** 3174 * Location Page's store location descriptor 3175 */ 3176 @java.lang.SuppressWarnings("all") 3177 public String getStoreLocationDescriptor() { 3178 return this.storeLocationDescriptor; 3179 } 3180 3181 /** 3182 * Location Page's store location descriptor 3183 */ 3184 @java.lang.SuppressWarnings("all") 3185 public void setStoreLocationDescriptor(final String storeLocationDescriptor) { 3186 this.storeLocationDescriptor = storeLocationDescriptor; 3187 } 3188 3189 /** 3190 * The genre of the film. Applicable to Films 3191 * 3192 * @since 1.10.0 3193 * @return The genre of the film 3194 */ 3195 @java.lang.SuppressWarnings("all") 3196 public String getGenre() { 3197 return this.genre; 3198 } 3199 3200 /** 3201 * The genre of the film. Applicable to Films 3202 * 3203 * @since 1.10.0 3204 */ 3205 @java.lang.SuppressWarnings("all") 3206 public void setGenre(final String genre) { 3207 this.genre = genre; 3208 } 3209 3210 /** 3211 * MPG of the vehicle. Applicable to Vehicles 3212 * 3213 * @since 1.10.0 3214 * @return MPG of the vehicle 3215 */ 3216 @java.lang.SuppressWarnings("all") 3217 public String getMpg() { 3218 return this.mpg; 3219 } 3220 3221 /** 3222 * MPG of the vehicle. Applicable to Vehicles 3223 * 3224 * @since 1.10.0 3225 */ 3226 @java.lang.SuppressWarnings("all") 3227 public void setMpg(final String mpg) { 3228 this.mpg = mpg; 3229 } 3230 3231 /** 3232 * The TV network for the TV show. Applicable to TV Shows 3233 * 3234 * @since 1.10.0 3235 * @return The TV network for the TV show 3236 */ 3237 @java.lang.SuppressWarnings("all") 3238 public String getNetwork() { 3239 return this.network; 3240 } 3241 3242 /** 3243 * The TV network for the TV show. Applicable to TV Shows 3244 * 3245 * @since 1.10.0 3246 */ 3247 @java.lang.SuppressWarnings("all") 3248 public void setNetwork(final String network) { 3249 this.network = network; 3250 } 3251 3252 /** 3253 * The number of people who have liked the Page, since the last login. Only visible to a page admin 3254 * 3255 * @since 1.10.0 3256 * @return The number of people who have liked the Page, since the last login 3257 */ 3258 @java.lang.SuppressWarnings("all") 3259 public Long getNewLikeCount() { 3260 return this.newLikeCount; 3261 } 3262 3263 /** 3264 * The number of people who have liked the Page, since the last login. Only visible to a page admin 3265 * 3266 * @since 1.10.0 3267 */ 3268 @java.lang.SuppressWarnings("all") 3269 public void setNewLikeCount(final Long newLikeCount) { 3270 this.newLikeCount = newLikeCount; 3271 } 3272 3273 /** 3274 * Offer eligibility status. Only visible to a page admin 3275 * 3276 * @since 1.10.0 3277 * @return Offer eligibility status 3278 */ 3279 @java.lang.SuppressWarnings("all") 3280 public Boolean getOfferEligible() { 3281 return this.offerEligible; 3282 } 3283 3284 /** 3285 * Offer eligibility status. Only visible to a page admin 3286 * 3287 * @since 1.10.0 3288 */ 3289 @java.lang.SuppressWarnings("all") 3290 public void setOfferEligible(final Boolean offerEligible) { 3291 this.offerEligible = offerEligible; 3292 } 3293 3294 /** 3295 * The air schedule of the TV show. Applicable to TV Shows 3296 * 3297 * @since 1.10.0 3298 * @return The air schedule of the TV show 3299 */ 3300 @java.lang.SuppressWarnings("all") 3301 public String getSchedule() { 3302 return this.schedule; 3303 } 3304 3305 /** 3306 * The air schedule of the TV show. Applicable to TV Shows 3307 * 3308 * @since 1.10.0 3309 */ 3310 @java.lang.SuppressWarnings("all") 3311 public void setSchedule(final String schedule) { 3312 this.schedule = schedule; 3313 } 3314 3315 /** 3316 * The screenwriter of the film. Applicable to Films 3317 * 3318 * @since 1.10.0 3319 * @return The screenwriter of the film 3320 */ 3321 @java.lang.SuppressWarnings("all") 3322 public String getScreenplayBy() { 3323 return this.screenplayBy; 3324 } 3325 3326 /** 3327 * The screenwriter of the film. Applicable to Films 3328 * 3329 * @since 1.10.0 3330 */ 3331 @java.lang.SuppressWarnings("all") 3332 public void setScreenplayBy(final String screenplayBy) { 3333 this.screenplayBy = screenplayBy; 3334 } 3335 3336 /** 3337 * The season information of the TV Show. Applicable to TV Shows 3338 * 3339 * @since 1.10.0 3340 * @return The season information of the TV Show 3341 */ 3342 @java.lang.SuppressWarnings("all") 3343 public String getSeason() { 3344 return this.season; 3345 } 3346 3347 /** 3348 * The season information of the TV Show. Applicable to TV Shows 3349 * 3350 * @since 1.10.0 3351 */ 3352 @java.lang.SuppressWarnings("all") 3353 public void setSeason(final String season) { 3354 this.season = season; 3355 } 3356 3357 /** 3358 * The page address, if any, in a simple single line format. 3359 * 3360 * @return The page address, if any, in a simple single line format 3361 */ 3362 @java.lang.SuppressWarnings("all") 3363 public String getSingleLineAddress() { 3364 return this.singleLineAddress; 3365 } 3366 3367 /** 3368 * The page address, if any, in a simple single line format. 3369 */ 3370 @java.lang.SuppressWarnings("all") 3371 public void setSingleLineAddress(final String singleLineAddress) { 3372 this.singleLineAddress = singleLineAddress; 3373 } 3374 3375 /** 3376 * The cast of the film. Applicable to Films 3377 * 3378 * @since 1.10.0 3379 * @return The cast of the film 3380 */ 3381 @java.lang.SuppressWarnings("all") 3382 public String getStarring() { 3383 return this.starring; 3384 } 3385 3386 /** 3387 * The cast of the film. Applicable to Films 3388 * 3389 * @since 1.10.0 3390 */ 3391 @java.lang.SuppressWarnings("all") 3392 public void setStarring(final String starring) { 3393 this.starring = starring; 3394 } 3395 3396 /** 3397 * Information about when the entity represented by the Page was started 3398 * 3399 * @since 1.10.0 3400 * @return Information about when the entity represented by the Page was started 3401 */ 3402 @java.lang.SuppressWarnings("all") 3403 public PageStartInfo getStartInfo() { 3404 return this.startInfo; 3405 } 3406 3407 /** 3408 * Information about when the entity represented by the Page was started 3409 * 3410 * @since 1.10.0 3411 */ 3412 @java.lang.SuppressWarnings("all") 3413 public void setStartInfo(final PageStartInfo startInfo) { 3414 this.startInfo = startInfo; 3415 } 3416 3417 /** 3418 * Unique store number for this location Page. 3419 * 3420 * @since 1.10.0 3421 * @return Unique store number for this location Page 3422 */ 3423 @java.lang.SuppressWarnings("all") 3424 public String getStoreNumber() { 3425 return this.storeNumber; 3426 } 3427 3428 /** 3429 * Unique store number for this location Page. 3430 * 3431 * @since 1.10.0 3432 */ 3433 @java.lang.SuppressWarnings("all") 3434 public void setStoreNumber(final String storeNumber) { 3435 this.storeNumber = storeNumber; 3436 } 3437 3438 /** 3439 * The studio for the film production. Applicable to Films 3440 * 3441 * @since 1.10.0 3442 * @return The studio for the film production 3443 */ 3444 @java.lang.SuppressWarnings("all") 3445 public String getStudio() { 3446 return this.studio; 3447 } 3448 3449 /** 3450 * The studio for the film production. Applicable to Films 3451 * 3452 * @since 1.10.0 3453 */ 3454 @java.lang.SuppressWarnings("all") 3455 public void setStudio(final String studio) { 3456 this.studio = studio; 3457 } 3458 3459 /** 3460 * The social sentence and like count information for this Page. This is the same info used for the like button 3461 * 3462 * @since 1.10.0 3463 * @return The social sentence and like count information for this Page 3464 */ 3465 @java.lang.SuppressWarnings("all") 3466 public Engagement getEngagement() { 3467 return this.engagement; 3468 } 3469 3470 /** 3471 * The social sentence and like count information for this Page. This is the same info used for the like button 3472 * 3473 * @since 1.10.0 3474 */ 3475 @java.lang.SuppressWarnings("all") 3476 public void setEngagement(final Engagement engagement) { 3477 this.engagement = engagement; 3478 } 3479 3480 /** 3481 * Unread message count for the Page. Only visible to a page admin 3482 * 3483 * @since 1.10.0 3484 * @return Unread message count for the Page 3485 */ 3486 @java.lang.SuppressWarnings("all") 3487 public Long getUnreadMessageCount() { 3488 return this.unreadMessageCount; 3489 } 3490 3491 /** 3492 * Unread message count for the Page. Only visible to a page admin 3493 * 3494 * @since 1.10.0 3495 */ 3496 @java.lang.SuppressWarnings("all") 3497 public void setUnreadMessageCount(final Long unreadMessageCount) { 3498 this.unreadMessageCount = unreadMessageCount; 3499 } 3500 3501 /** 3502 * Number of unread notifications. Only visible to a page admin 3503 * 3504 * @since 1.10.0 3505 * @return Number of unread notifications 3506 */ 3507 @java.lang.SuppressWarnings("all") 3508 public Long getUnreadNotifCount() { 3509 return this.unreadNotifCount; 3510 } 3511 3512 /** 3513 * Number of unread notifications. Only visible to a page admin 3514 * 3515 * @since 1.10.0 3516 */ 3517 @java.lang.SuppressWarnings("all") 3518 public void setUnreadNotifCount(final Long unreadNotifCount) { 3519 this.unreadNotifCount = unreadNotifCount; 3520 } 3521 3522 /** 3523 * Unseen message count for the Page. Only visible to a page admin 3524 * 3525 * @since 1.10.0 3526 * @return Unseen message count for the Page 3527 */ 3528 @java.lang.SuppressWarnings("all") 3529 public Long getUnseenMessageCount() { 3530 return this.unseenMessageCount; 3531 } 3532 3533 /** 3534 * Unseen message count for the Page. Only visible to a page admin 3535 * 3536 * @since 1.10.0 3537 */ 3538 @java.lang.SuppressWarnings("all") 3539 public void setUnseenMessageCount(final Long unseenMessageCount) { 3540 this.unseenMessageCount = unseenMessageCount; 3541 } 3542 3543 /** 3544 * Members of this org. Applicable to Pages representing Team Orgs 3545 * 3546 * @since 1.10.0 3547 * @return Members of this org 3548 */ 3549 @java.lang.SuppressWarnings("all") 3550 public String getMembers() { 3551 return this.members; 3552 } 3553 3554 /** 3555 * Members of this org. Applicable to Pages representing Team Orgs 3556 * 3557 * @since 1.10.0 3558 */ 3559 @java.lang.SuppressWarnings("all") 3560 public void setMembers(final String members) { 3561 this.members = members; 3562 } 3563 3564 /** 3565 * The number of visits to this Page's location. If the Page setting Show map, check-ins and star ratings on the Page 3566 * (under Page Settings > Page Info > Address) is disabled, then this value will also be disabled 3567 * 3568 * @since 1.10.0 3569 * @return The number of visits to this Page's location 3570 */ 3571 @java.lang.SuppressWarnings("all") 3572 public Long getWereHereCount() { 3573 return this.wereHereCount; 3574 } 3575 3576 /** 3577 * The number of visits to this Page's location. If the Page setting Show map, check-ins and star ratings on the Page 3578 * (under Page Settings > Page Info > Address) is disabled, then this value will also be disabled 3579 * 3580 * @since 1.10.0 3581 */ 3582 @java.lang.SuppressWarnings("all") 3583 public void setWereHereCount(final Long wereHereCount) { 3584 this.wereHereCount = wereHereCount; 3585 } 3586 3587 /** 3588 * Video Featured by the Page. Only visible to the Page admin 3589 * 3590 * @since 1.10.0 3591 * @return Video Featured by the Page 3592 */ 3593 @java.lang.SuppressWarnings("all") 3594 public Video getFeaturedVideo() { 3595 return this.featuredVideo; 3596 } 3597 3598 /** 3599 * Video Featured by the Page. Only visible to the Page admin 3600 * 3601 * @since 1.10.0 3602 */ 3603 @java.lang.SuppressWarnings("all") 3604 public void setFeaturedVideo(final Video featuredVideo) { 3605 this.featuredVideo = featuredVideo; 3606 } 3607 3608 /** 3609 * Showing whether this Page is verified and in what color e.g. blue verified, gray verified or not verified 3610 * 3611 * @return Showing whether this Page is verified and in what color 3612 */ 3613 @java.lang.SuppressWarnings("all") 3614 public String getVerificationStatus() { 3615 return this.verificationStatus; 3616 } 3617 3618 /** 3619 * Showing whether this Page is verified and in what color e.g. blue verified, gray verified or not verified 3620 */ 3621 @java.lang.SuppressWarnings("all") 3622 public void setVerificationStatus(final String verificationStatus) { 3623 this.verificationStatus = verificationStatus; 3624 } 3625 3626 /** 3627 * Voip info 3628 * 3629 * @since 1.10.0 3630 * @return Voip info 3631 */ 3632 @java.lang.SuppressWarnings("all") 3633 public VoipInfo getVoipInfo() { 3634 return this.voipInfo; 3635 } 3636 3637 /** 3638 * Voip info 3639 * 3640 * @since 1.10.0 3641 */ 3642 @java.lang.SuppressWarnings("all") 3643 public void setVoipInfo(final VoipInfo voipInfo) { 3644 this.voipInfo = voipInfo; 3645 } 3646 3647 /** 3648 * The writer of the TV show. Applicable to TV Shows 3649 * 3650 * @since 1.10.0 3651 * @return The writer of the TV show 3652 */ 3653 @java.lang.SuppressWarnings("all") 3654 public String getWrittenBy() { 3655 return this.writtenBy; 3656 } 3657 3658 /** 3659 * The writer of the TV show. Applicable to TV Shows 3660 * 3661 * @since 1.10.0 3662 */ 3663 @java.lang.SuppressWarnings("all") 3664 public void setWrittenBy(final String writtenBy) { 3665 this.writtenBy = writtenBy; 3666 } 3667 3668 /** 3669 * whatsapp number 3670 * 3671 * @return whatsapp number 3672 */ 3673 @java.lang.SuppressWarnings("all") 3674 public String getWhatsappNumber() { 3675 return this.whatsappNumber; 3676 } 3677 3678 /** 3679 * whatsapp number 3680 */ 3681 @java.lang.SuppressWarnings("all") 3682 public void setWhatsappNumber(final String whatsappNumber) { 3683 this.whatsappNumber = whatsappNumber; 3684 } 3685 3686 /** 3687 * The page's link. 3688 * 3689 * @return The page's link. 3690 */ 3691 @java.lang.SuppressWarnings("all") 3692 public String getLink() { 3693 return this.link; 3694 } 3695 3696 /** 3697 * The page's link. 3698 * 3699 */ 3700 @java.lang.SuppressWarnings("all") 3701 public void setLink(final String link) { 3702 this.link = link; 3703 } 3704 3705 /** 3706 * The page's username. The alias of the Page. For example, for www.facebook.com/platform the username is 'platform' 3707 * 3708 * @return The page's username. 3709 */ 3710 @java.lang.SuppressWarnings("all") 3711 public String getUsername() { 3712 return this.username; 3713 } 3714 3715 /** 3716 * The page's username. The alias of the Page. For example, for www.facebook.com/platform the username is 'platform' 3717 * 3718 */ 3719 @java.lang.SuppressWarnings("all") 3720 public void setUsername(final String username) { 3721 this.username = username; 3722 } 3723 3724 /** 3725 * When the page was founded. 3726 * 3727 * @return When the page was founded. 3728 */ 3729 @java.lang.SuppressWarnings("all") 3730 public String getFounded() { 3731 return this.founded; 3732 } 3733 3734 /** 3735 * When the page was founded. 3736 * 3737 */ 3738 @java.lang.SuppressWarnings("all") 3739 public void setFounded(final String founded) { 3740 this.founded = founded; 3741 } 3742 3743 /** 3744 * Overview of the page's company. 3745 * 3746 * @return Overview of the page's company. 3747 */ 3748 @java.lang.SuppressWarnings("all") 3749 public String getCompanyOverview() { 3750 return this.companyOverview; 3751 } 3752 3753 /** 3754 * Overview of the page's company. 3755 * 3756 */ 3757 @java.lang.SuppressWarnings("all") 3758 public void setCompanyOverview(final String companyOverview) { 3759 this.companyOverview = companyOverview; 3760 } 3761 3762 /** 3763 * The company mission. Applicable to Companies 3764 * 3765 * @return The page's mission. 3766 */ 3767 @java.lang.SuppressWarnings("all") 3768 public String getMission() { 3769 return this.mission; 3770 } 3771 3772 /** 3773 * The company mission. Applicable to Companies 3774 * 3775 */ 3776 @java.lang.SuppressWarnings("all") 3777 public void setMission(final String mission) { 3778 this.mission = mission; 3779 } 3780 3781 /** 3782 * The page's products. 3783 * 3784 * @return The page's products. 3785 */ 3786 @java.lang.SuppressWarnings("all") 3787 public String getProducts() { 3788 return this.products; 3789 } 3790 3791 /** 3792 * The page's products. 3793 * 3794 */ 3795 @java.lang.SuppressWarnings("all") 3796 public void setProducts(final String products) { 3797 this.products = products; 3798 } 3799 3800 @java.lang.SuppressWarnings("all") 3801 public String getPageToken() { 3802 return this.pageToken; 3803 } 3804 3805 @java.lang.SuppressWarnings("all") 3806 public void setPageToken(final String pageToken) { 3807 this.pageToken = pageToken; 3808 } 3809 3810 /** 3811 * Parent Page of this Page. 3812 * 3813 * If the Page is part of a Global Root Structure and you have permission to the Global Root, 3814 * the Global Root Parent Page is returned. If you do not have Global Root permission, 3815 * the Market Page for your current region is returned as the Parent Page. 3816 * 3817 * If your Page is not part of a Global Root Structure, the Parent Page is returned. 3818 * 3819 * @return parent page of this page 3820 */ 3821 @java.lang.SuppressWarnings("all") 3822 public Page getParentPage() { 3823 return this.parentPage; 3824 } 3825 3826 /** 3827 * Parent Page of this Page. 3828 * 3829 * If the Page is part of a Global Root Structure and you have permission to the Global Root, 3830 * the Global Root Parent Page is returned. If you do not have Global Root permission, 3831 * the Market Page for your current region is returned as the Parent Page. 3832 * 3833 * If your Page is not part of a Global Root Structure, the Parent Page is returned. 3834 */ 3835 @java.lang.SuppressWarnings("all") 3836 public void setParentPage(final Page parentPage) { 3837 this.parentPage = parentPage; 3838 } 3839 3840 /** 3841 * Indicates whether a user has accepted the TOS for running LeadGen Ads on the Page. 3842 * 3843 * @return Indicates whether a user has accepted the TOS for running LeadGen Ads on the Page 3844 */ 3845 @java.lang.SuppressWarnings("all") 3846 public Boolean getLeadgenTosAccepted() { 3847 return this.leadgenTosAccepted; 3848 } 3849 3850 /** 3851 * Indicates whether a user has accepted the TOS for running LeadGen Ads on the Page. 3852 * 3853 */ 3854 @java.lang.SuppressWarnings("all") 3855 public void setLeadgenTosAccepted(final Boolean leadgenTosAccepted) { 3856 this.leadgenTosAccepted = leadgenTosAccepted; 3857 } 3858 3859 /** 3860 * The number of likes the page has. 3861 * 3862 * Since Graph 2.6 you should use {@link Page#fanCount} instead 3863 * 3864 * @return The number of likes the page has 3865 * @since 1.6.5 3866 */ 3867 @GraphAPI(until = "2.5") 3868 @java.lang.SuppressWarnings("all") 3869 public Long getLikesCount() { 3870 return this.likesCount; 3871 } 3872 3873 /** 3874 * The number of likes the page has. 3875 * 3876 * Since Graph 2.6 you should use {@link Page#fanCount} instead 3877 * 3878 * @since 1.6.5 3879 */ 3880 @java.lang.SuppressWarnings("all") 3881 public void setLikesCount(final Long likesCount) { 3882 this.likesCount = likesCount; 3883 } 3884 3885 /** 3886 * The Pages that this Page Likes. 3887 * 3888 * @return The Pages that this Page Likes. 3889 */ 3890 @GraphAPI(since = "2.6") 3891 @java.lang.SuppressWarnings("all") 3892 public Likes getLikes() { 3893 return this.likes; 3894 } 3895 3896 /** 3897 * The Pages that this Page Likes. 3898 */ 3899 @java.lang.SuppressWarnings("all") 3900 public void setLikes(final Likes likes) { 3901 this.likes = likes; 3902 } 3903 3904 /** 3905 * The number of likes the page has. 3906 * 3907 * @return The number of likes the page has 3908 */ 3909 @GraphAPI(since = "2.6") 3910 @java.lang.SuppressWarnings("all") 3911 public Long getFanCount() { 3912 return this.fanCount; 3913 } 3914 3915 /** 3916 * The number of likes the page has. 3917 */ 3918 @java.lang.SuppressWarnings("all") 3919 public void setFanCount(final Long fanCount) { 3920 this.fanCount = fanCount; 3921 } 3922 3923 /** 3924 * Indicates whether this location is always open. 3925 * 3926 * @return Indicates whether this location is always open 3927 */ 3928 @java.lang.SuppressWarnings("all") 3929 public Boolean getIsAlwaysOpen() { 3930 return this.isAlwaysOpen; 3931 } 3932 3933 /** 3934 * Indicates whether this location is always open. 3935 */ 3936 @java.lang.SuppressWarnings("all") 3937 public void setIsAlwaysOpen(final Boolean isAlwaysOpen) { 3938 this.isAlwaysOpen = isAlwaysOpen; 3939 } 3940 3941 /** 3942 * Indicates whether location is part of a chain 3943 * 3944 * @return Indicates whether location is part of a chain 3945 */ 3946 @java.lang.SuppressWarnings("all") 3947 public Boolean getIsChain() { 3948 return this.isChain; 3949 } 3950 3951 /** 3952 * Indicates whether location is part of a chain 3953 */ 3954 @java.lang.SuppressWarnings("all") 3955 public void setIsChain(final Boolean isChain) { 3956 this.isChain = isChain; 3957 } 3958 3959 /** 3960 * Is this a community page? 3961 * 3962 * @return Is this a community page? 3963 */ 3964 @java.lang.SuppressWarnings("all") 3965 public Boolean getIsCommunityPage() { 3966 return this.isCommunityPage; 3967 } 3968 3969 /** 3970 * Is this a community page? 3971 * 3972 */ 3973 @java.lang.SuppressWarnings("all") 3974 public void setIsCommunityPage(final Boolean isCommunityPage) { 3975 this.isCommunityPage = isCommunityPage; 3976 } 3977 3978 /** 3979 * Indicates whether the page is eligible for the branded content tool 3980 * 3981 * @return is eligible for the branded content tool 3982 */ 3983 @java.lang.SuppressWarnings("all") 3984 public Boolean getIsEligibleForBrandedContent() { 3985 return this.isEligibleForBrandedContent; 3986 } 3987 3988 /** 3989 * Indicates whether the page is eligible for the branded content tool 3990 */ 3991 @java.lang.SuppressWarnings("all") 3992 public void setIsEligibleForBrandedContent(final Boolean isEligibleForBrandedContent) { 3993 this.isEligibleForBrandedContent = isEligibleForBrandedContent; 3994 } 3995 3996 /** 3997 * Indicates whether the page is a Messenger Platform Bot with Get Started button enabled 3998 * 3999 * @return is a Messenger Platform Bot with Get Started button enabled 4000 */ 4001 @java.lang.SuppressWarnings("all") 4002 public Boolean getIsMessengerBotGetStartedEnabled() { 4003 return this.isMessengerBotGetStartedEnabled; 4004 } 4005 4006 /** 4007 * Indicates whether the page is a Messenger Platform Bot with Get Started button enabled 4008 */ 4009 @java.lang.SuppressWarnings("all") 4010 public void setIsMessengerBotGetStartedEnabled(final Boolean isMessengerBotGetStartedEnabled) { 4011 this.isMessengerBotGetStartedEnabled = isMessengerBotGetStartedEnabled; 4012 } 4013 4014 /** 4015 * Indicates whether the page is a Messenger Platform Bot 4016 * 4017 * @return Indicates whether the page is a Messenger Platform Bot 4018 */ 4019 @java.lang.SuppressWarnings("all") 4020 public Boolean getIsMessengerPlatformBot() { 4021 return this.isMessengerPlatformBot; 4022 } 4023 4024 /** 4025 * Indicates whether the page is a Messenger Platform Bot 4026 */ 4027 @java.lang.SuppressWarnings("all") 4028 public void setIsMessengerPlatformBot(final Boolean isMessengerPlatformBot) { 4029 this.isMessengerPlatformBot = isMessengerPlatformBot; 4030 } 4031 4032 /** 4033 * Indicates whether page is owned 4034 * 4035 * @return Indicates whether page is owned 4036 */ 4037 @java.lang.SuppressWarnings("all") 4038 public Boolean getIsOwned() { 4039 return this.isOwned; 4040 } 4041 4042 /** 4043 * Indicates whether page is owned 4044 */ 4045 @java.lang.SuppressWarnings("all") 4046 public void setIsOwned(final Boolean isOwned) { 4047 this.isOwned = isOwned; 4048 } 4049 4050 /** 4051 * A description of this page. 4052 * 4053 * @return A description of this page. 4054 */ 4055 @java.lang.SuppressWarnings("all") 4056 public String getDescription() { 4057 return this.description; 4058 } 4059 4060 /** 4061 * A description of this page. 4062 * 4063 */ 4064 @java.lang.SuppressWarnings("all") 4065 public void setDescription(final String description) { 4066 this.description = description; 4067 } 4068 4069 /** 4070 * The description of the Page in raw HTML. 4071 * 4072 * @since 1.10.0 4073 * @return The description of the Page in raw HTML 4074 */ 4075 @java.lang.SuppressWarnings("all") 4076 public String getDescriptionHtml() { 4077 return this.descriptionHtml; 4078 } 4079 4080 /** 4081 * The description of the Page in raw HTML. 4082 * 4083 * @since 1.10.0 4084 */ 4085 @java.lang.SuppressWarnings("all") 4086 public void setDescriptionHtml(final String descriptionHtml) { 4087 this.descriptionHtml = descriptionHtml; 4088 } 4089 4090 /** 4091 * The total number of users who have checked in to the Page. 4092 * 4093 * @return The total number of users who have checked in to the Page. 4094 */ 4095 @java.lang.SuppressWarnings("all") 4096 public Integer getCheckins() { 4097 return this.checkins; 4098 } 4099 4100 /** 4101 * The total number of users who have checked in to the Page. 4102 * 4103 */ 4104 @java.lang.SuppressWarnings("all") 4105 public void setCheckins(final Integer checkins) { 4106 this.checkins = checkins; 4107 } 4108 4109 /** 4110 * The phone number (not always normalized for country code) for the Page. 4111 * 4112 * @return The phone number (not always normalized for country code) for the Page. 4113 */ 4114 @java.lang.SuppressWarnings("all") 4115 public String getPhone() { 4116 return this.phone; 4117 } 4118 4119 /** 4120 * The phone number (not always normalized for country code) for the Page. 4121 * 4122 */ 4123 @java.lang.SuppressWarnings("all") 4124 public void setPhone(final String phone) { 4125 this.phone = phone; 4126 } 4127 4128 /** 4129 * Parking information. Applicable to Businesses and Places 4130 * 4131 * @return Parking information. Applicable to Businesses and Places 4132 */ 4133 @java.lang.SuppressWarnings("all") 4134 public PageParking getParking() { 4135 return this.parking; 4136 } 4137 4138 /** 4139 * Parking information. Applicable to Businesses and Places 4140 */ 4141 @java.lang.SuppressWarnings("all") 4142 public void setParking(final PageParking parking) { 4143 this.parking = parking; 4144 } 4145 4146 /** 4147 * An admin {@code access_token} for this page. 4148 * <p> 4149 * The current user must be an administrator of this page; only returned if specifically requested via the fields URL 4150 * parameter, e.g. {@code facebookClient.fetchObject("123", Page.class, Parameter.with("fields","access_token"))} 4151 * 4152 * @return The access token specific to this page. 4153 * @since 1.6.5 4154 */ 4155 @java.lang.SuppressWarnings("all") 4156 public String getAccessToken() { 4157 return this.accessToken; 4158 } 4159 4160 /** 4161 * An admin {@code access_token} for this page. 4162 * <p> 4163 * The current user must be an administrator of this page; only returned if specifically requested via the fields URL 4164 * parameter, e.g. {@code facebookClient.fetchObject("123", Page.class, Parameter.with("fields","access_token"))} 4165 * 4166 * @since 1.6.5 4167 */ 4168 @java.lang.SuppressWarnings("all") 4169 public void setAccessToken(final String accessToken) { 4170 this.accessToken = accessToken; 4171 } 4172 4173 /** 4174 * General information about this page. 4175 * 4176 * @return General information about this page. 4177 * @since 1.6.10 4178 */ 4179 @java.lang.SuppressWarnings("all") 4180 public String getAbout() { 4181 return this.about; 4182 } 4183 4184 /** 4185 * General information about this page. 4186 * 4187 * @since 1.6.10 4188 */ 4189 @java.lang.SuppressWarnings("all") 4190 public void setAbout(final String about) { 4191 this.about = about; 4192 } 4193 4194 /** 4195 * The number of people that are talking about this page (last seven days). 4196 * 4197 * @return The number of people that are talking about this page (last seven days). 4198 * @since 1.6.10 4199 */ 4200 @java.lang.SuppressWarnings("all") 4201 public Long getTalkingAboutCount() { 4202 return this.talkingAboutCount; 4203 } 4204 4205 /** 4206 * The number of people that are talking about this page (last seven days). 4207 * 4208 * @since 1.6.10 4209 */ 4210 @java.lang.SuppressWarnings("all") 4211 public void setTalkingAboutCount(final Long talkingAboutCount) { 4212 this.talkingAboutCount = talkingAboutCount; 4213 } 4214 4215 /** 4216 * Whether this page has checkin functionality enabled. 4217 * 4218 * @return Whether this page has checkin functionality enabled 4219 */ 4220 @java.lang.SuppressWarnings("all") 4221 public Boolean getCanCheckin() { 4222 return this.canCheckin; 4223 } 4224 4225 /** 4226 * Whether this page has checkin functionality enabled. 4227 */ 4228 @java.lang.SuppressWarnings("all") 4229 public void setCanCheckin(final Boolean canCheckin) { 4230 this.canCheckin = canCheckin; 4231 } 4232 4233 /** 4234 * Indicates whether the current session user can post on this page. 4235 * 4236 * @return Whether the current session user can post on this page. 4237 * @since 1.6.10 4238 */ 4239 @java.lang.SuppressWarnings("all") 4240 public Boolean getCanPost() { 4241 return this.canPost; 4242 } 4243 4244 /** 4245 * Indicates whether the current session user can post on this page. 4246 * 4247 * @since 1.6.10 4248 */ 4249 @java.lang.SuppressWarnings("all") 4250 public void setCanPost(final Boolean canPost) { 4251 this.canPost = canPost; 4252 } 4253 4254 /** 4255 * Indicates whether the page is published and visible to non-admins. 4256 * 4257 * @return Whether the page is published and visible to non-admins. 4258 * @since 1.6.10 4259 */ 4260 @java.lang.SuppressWarnings("all") 4261 public Boolean getIsPublished() { 4262 return this.isPublished; 4263 } 4264 4265 /** 4266 * Indicates whether the page is published and visible to non-admins. 4267 * 4268 * @since 1.6.10 4269 */ 4270 @java.lang.SuppressWarnings("all") 4271 public void setIsPublished(final Boolean isPublished) { 4272 this.isPublished = isPublished; 4273 } 4274 4275 /** 4276 * Indicates whether the Page is unclaimed. 4277 * 4278 * @return Indicates whether the Page is unclaimed. 4279 * @since 1.7.0 4280 */ 4281 @java.lang.SuppressWarnings("all") 4282 public Boolean getIsUnclaimed() { 4283 return this.isUnclaimed; 4284 } 4285 4286 /** 4287 * Indicates whether the Page is unclaimed. 4288 * 4289 * @since 1.7.0 4290 */ 4291 @java.lang.SuppressWarnings("all") 4292 public void setIsUnclaimed(final Boolean isUnclaimed) { 4293 this.isUnclaimed = isUnclaimed; 4294 } 4295 4296 /** 4297 * Pages with a large number of followers can be manually verified by Facebook as having an authentic identity. This 4298 * field indicates whether the page is verified by this process 4299 * 4300 * @since 1.10.0 4301 * @return Indicates whether the Page is verified 4302 * @deprecated use <code>verificationStatus</code> instead 4303 */ 4304 @java.lang.Deprecated 4305 @java.lang.SuppressWarnings("all") 4306 public Boolean getIsVerified() { 4307 return this.isVerified; 4308 } 4309 4310 /** 4311 * Pages with a large number of followers can be manually verified by Facebook as having an authentic identity. This 4312 * field indicates whether the page is verified by this process 4313 * 4314 * @since 1.10.0 4315 * @deprecated use <code>verificationStatus</code> instead 4316 */ 4317 @java.lang.Deprecated 4318 @java.lang.SuppressWarnings("all") 4319 public void setIsVerified(final Boolean isVerified) { 4320 this.isVerified = isVerified; 4321 } 4322 4323 /** 4324 * Indicates whether the application is subscribed for real time updates from this page 4325 * 4326 * @return Indicates whether the application is subscribed for real time updates from this page 4327 */ 4328 @GraphAPI(since = "2.7") 4329 @java.lang.SuppressWarnings("all") 4330 public Boolean getIsWebhooksSubscribed() { 4331 return this.isWebhooksSubscribed; 4332 } 4333 4334 /** 4335 * Indicates whether the application is subscribed for real time updates from this page 4336 */ 4337 @java.lang.SuppressWarnings("all") 4338 public void setIsWebhooksSubscribed(final Boolean isWebhooksSubscribed) { 4339 this.isWebhooksSubscribed = isWebhooksSubscribed; 4340 } 4341 4342 /** 4343 * The director of the film. Applicable to Films. 4344 * 4345 * @return The director of the film 4346 * @since 1.7.0 4347 */ 4348 @java.lang.SuppressWarnings("all") 4349 public String getDirectedBy() { 4350 return this.directedBy; 4351 } 4352 4353 /** 4354 * The director of the film. Applicable to Films. 4355 * 4356 * @since 1.7.0 4357 */ 4358 @java.lang.SuppressWarnings("all") 4359 public void setDirectedBy(final String directedBy) { 4360 this.directedBy = directedBy; 4361 } 4362 4363 /** 4364 * Subtext about the Page being viewed. 4365 * 4366 * @return Subtext about the Page being viewed 4367 */ 4368 @java.lang.SuppressWarnings("all") 4369 public String getDisplaySubtext() { 4370 return this.displaySubtext; 4371 } 4372 4373 /** 4374 * Subtext about the Page being viewed. 4375 */ 4376 @java.lang.SuppressWarnings("all") 4377 public void setDisplaySubtext(final String displaySubtext) { 4378 this.displaySubtext = displaySubtext; 4379 } 4380 4381 /** 4382 * Page estimated message response time displayed to user 4383 * 4384 * @return Page estimated message response time displayed to user 4385 */ 4386 @java.lang.SuppressWarnings("all") 4387 public String getDisplayedMessageResponseTime() { 4388 return this.displayedMessageResponseTime; 4389 } 4390 4391 /** 4392 * Page estimated message response time displayed to user 4393 */ 4394 @java.lang.SuppressWarnings("all") 4395 public void setDisplayedMessageResponseTime(final String displayedMessageResponseTime) { 4396 this.displayedMessageResponseTime = displayedMessageResponseTime; 4397 } 4398 4399 /** 4400 * General manager of the business. Applicable to Restaurants or Nightlife. 4401 * 4402 * @return General manager of the business. 4403 * @since 1.7.0 4404 */ 4405 @java.lang.SuppressWarnings("all") 4406 public String getGeneralManager() { 4407 return this.generalManager; 4408 } 4409 4410 /** 4411 * General manager of the business. Applicable to Restaurants or Nightlife. 4412 * 4413 * @since 1.7.0 4414 */ 4415 @java.lang.SuppressWarnings("all") 4416 public void setGeneralManager(final String generalManager) { 4417 this.generalManager = generalManager; 4418 } 4419 4420 /** 4421 * The general information for a page. 4422 * 4423 * @return The general information for a page. 4424 * @since 1.6.12 4425 */ 4426 @java.lang.SuppressWarnings("all") 4427 public String getGeneralInfo() { 4428 return this.generalInfo; 4429 } 4430 4431 /** 4432 * The general information for a page. 4433 * 4434 * @since 1.6.12 4435 */ 4436 @java.lang.SuppressWarnings("all") 4437 public void setGeneralInfo(final String generalInfo) { 4438 this.generalInfo = generalInfo; 4439 } 4440 4441 /** 4442 * The location of the place this page represents. 4443 * 4444 * @return The location of the place this page represents. 4445 */ 4446 @java.lang.SuppressWarnings("all") 4447 public Location getLocation() { 4448 return this.location; 4449 } 4450 4451 /** 4452 * The location of the place this page represents. 4453 * 4454 */ 4455 @java.lang.SuppressWarnings("all") 4456 public void setLocation(final Location location) { 4457 this.location = location; 4458 } 4459 4460 /** 4461 * The instant workflow merchant id associated with the Page 4462 * 4463 * @return The instant workflow merchant id associated with the Page 4464 */ 4465 @java.lang.SuppressWarnings("all") 4466 public String getMerchantId() { 4467 return this.merchantId; 4468 } 4469 4470 /** 4471 * The instant workflow merchant id associated with the Page 4472 */ 4473 @java.lang.SuppressWarnings("all") 4474 public void setMerchantId(final String merchantId) { 4475 this.merchantId = merchantId; 4476 } 4477 4478 /** 4479 * The cover photo. 4480 * 4481 * @return The cover photo. 4482 * @since 1.6.10 4483 */ 4484 @java.lang.SuppressWarnings("all") 4485 public Cover getCover() { 4486 return this.cover; 4487 } 4488 4489 /** 4490 * The cover photo. 4491 * 4492 * @since 1.6.10 4493 */ 4494 @java.lang.SuppressWarnings("all") 4495 public void setCover(final Cover cover) { 4496 this.cover = cover; 4497 } 4498 4499 /** 4500 * The website URL 4501 * 4502 * @return the website url 4503 * @since 1.6.15 4504 */ 4505 @java.lang.SuppressWarnings("all") 4506 public String getWebsite() { 4507 return this.website; 4508 } 4509 4510 /** 4511 * The website URL 4512 * 4513 * @since 1.6.15 4514 */ 4515 @java.lang.SuppressWarnings("all") 4516 public void setWebsite(final String website) { 4517 this.website = website; 4518 } 4519 4520 /** 4521 * The name of a Location Page that provides additional location information for that Page beside its name. 4522 * 4523 * @return the name of Location Page 4524 * @since 1.7.0 4525 */ 4526 @java.lang.SuppressWarnings("all") 4527 public String getNameWithLocationDescriptor() { 4528 return this.nameWithLocationDescriptor; 4529 } 4530 4531 /** 4532 * The name of a Location Page that provides additional location information for that Page beside its name. 4533 * 4534 * @since 1.7.0 4535 */ 4536 @java.lang.SuppressWarnings("all") 4537 public void setNameWithLocationDescriptor(final String nameWithLocationDescriptor) { 4538 this.nameWithLocationDescriptor = nameWithLocationDescriptor; 4539 } 4540 4541 /** 4542 * Booking agent of the band. Applicable to Bands. 4543 * 4544 * @return Booking agent of the band 4545 * @since 1.7.0 4546 */ 4547 @java.lang.SuppressWarnings("all") 4548 public String getBookingAgent() { 4549 return this.bookingAgent; 4550 } 4551 4552 /** 4553 * Booking agent of the band. Applicable to Bands. 4554 * 4555 * @since 1.7.0 4556 */ 4557 @java.lang.SuppressWarnings("all") 4558 public void setBookingAgent(final String bookingAgent) { 4559 this.bookingAgent = bookingAgent; 4560 } 4561 4562 /** 4563 * Press contact information of the band. Applicable to Bands. 4564 * 4565 * @return Press contact information of the band 4566 * @since 1.7.0 4567 */ 4568 @java.lang.SuppressWarnings("all") 4569 public String getPressContact() { 4570 return this.pressContact; 4571 } 4572 4573 /** 4574 * Press contact information of the band. Applicable to Bands. 4575 * 4576 * @since 1.7.0 4577 */ 4578 @java.lang.SuppressWarnings("all") 4579 public void setPressContact(final String pressContact) { 4580 this.pressContact = pressContact; 4581 } 4582 4583 /** 4584 * Instagram account connected to page via page settings 4585 * 4586 * @deprecated with Graph API 12 or December 13, 2021 for all versions 4587 */ 4588 @java.lang.Deprecated 4589 @java.lang.SuppressWarnings("all") 4590 public IgUser getConnectedInstagramAccount() { 4591 return this.connectedInstagramAccount; 4592 } 4593 4594 /** 4595 * Instagram account connected to page via page settings 4596 * 4597 * @deprecated with Graph API 12 or December 13, 2021 for all versions 4598 */ 4599 @java.lang.Deprecated 4600 @java.lang.SuppressWarnings("all") 4601 public void setConnectedInstagramAccount(final IgUser connectedInstagramAccount) { 4602 this.connectedInstagramAccount = connectedInstagramAccount; 4603 } 4604 4605 /** 4606 * Instagram account linked to page during Instagram business conversion flow 4607 * 4608 * @deprecated with Graph API 12 or December 13, 2021 for all versions 4609 */ 4610 @java.lang.Deprecated 4611 @java.lang.SuppressWarnings("all") 4612 public IgUser getInstagramBusinessAccount() { 4613 return this.instagramBusinessAccount; 4614 } 4615 4616 /** 4617 * Instagram account linked to page during Instagram business conversion flow 4618 * 4619 * @deprecated with Graph API 12 or December 13, 2021 for all versions 4620 */ 4621 @java.lang.Deprecated 4622 @java.lang.SuppressWarnings("all") 4623 public void setInstagramBusinessAccount(final IgUser instagramBusinessAccount) { 4624 this.instagramBusinessAccount = instagramBusinessAccount; 4625 } 4626 4627 /** 4628 * Indicates the current Instant Articles review status for this page 4629 * 4630 * @return Indicates the current Instant Articles review status for this page 4631 */ 4632 @java.lang.SuppressWarnings("all") 4633 public String getInstantArticlesReviewStatus() { 4634 return this.instantArticlesReviewStatus; 4635 } 4636 4637 /** 4638 * Indicates the current Instant Articles review status for this page 4639 */ 4640 @java.lang.SuppressWarnings("all") 4641 public void setInstantArticlesReviewStatus(final String instantArticlesReviewStatus) { 4642 this.instantArticlesReviewStatus = instantArticlesReviewStatus; 4643 } 4644 4645 /** 4646 * last used time of this object by the current viewer 4647 * 4648 * @return last used time of this object by the current viewer 4649 */ 4650 @java.lang.SuppressWarnings("all") 4651 public Date getLastUsedTime() { 4652 return this.lastUsedTime; 4653 } 4654 4655 /** 4656 * last used time of this object by the current viewer 4657 */ 4658 @java.lang.SuppressWarnings("all") 4659 public void setLastUsedTime(final Date lastUsedTime) { 4660 this.lastUsedTime = lastUsedTime; 4661 } 4662}