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