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