forked from restfb/restfb
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Page.java
2097 lines (1841 loc) · 45 KB
/
Page.java
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
/*
* Copyright (c) 2010-2022 Mark Allen, Norbert Bartels.
*
* Permission is hereby granted, free of charge, to any person obtaining a copy
* of this software and associated documentation files (the "Software"), to deal
* in the Software without restriction, including without limitation the rights
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
* copies of the Software, and to permit persons to whom the Software is
* furnished to do so, subject to the following conditions:
*
* The above copyright notice and this permission notice shall be included in
* all copies or substantial portions of the Software.
*
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
* THE SOFTWARE.
*/
package com.restfb.types;
import static java.util.Collections.unmodifiableList;
import java.util.*;
import com.restfb.Facebook;
import com.restfb.JsonMapper;
import com.restfb.JsonMapper.JsonMappingCompleted;
import com.restfb.annotation.GraphAPI;
import com.restfb.json.Json;
import com.restfb.json.JsonObject;
import com.restfb.json.JsonValue;
import com.restfb.types.ads.Business;
import com.restfb.types.features.HasProfilePicture;
import com.restfb.types.instagram.IgUser;
import lombok.Getter;
import lombok.Setter;
/**
* Represents the <a href="https://developers.facebook.com/docs/graph-api/reference/page/">Page Graph API type</a>.
*
* @author <a href="http://restfb.com">Mark Allen</a>
* @since 1.5
*/
public class Page extends CategorizedFacebookType implements HasProfilePicture {
@Facebook("picture")
private transient String rawPicture;
/**
* The pages's profile picture, if provided.
*
* To force Facebook to fill the <code>picture</code> field you have to fetch the page with the
* <code>fields=picture</code> parameter, otherwise the picture is <code>null</code>.
*
* @return the page's profile picture as ProfilePictureSource object
*/
@Getter(onMethod_ = {@Override})
@Setter
private ProfilePictureSource picture;
@Facebook("admin_notes")
private List<PageAdminNote> adminNotes = new ArrayList<>();
/**
* Affiliation of this person. Applicable to Pages representing people
*
* @since 1.10.0
* @return affiliation of this person
*/
@Getter
@Setter
@Facebook
private String affiliation;
/**
* App ID for app-owned Pages and app Pages.
*
* @return App ID for app-owned Pages and app Pages
*/
@Getter
@Setter
@Facebook("app_id")
private String appId;
/**
* Artists the band likes. Applicable to Bands
*
* @since 1.10.0
* @return artists the band likes
*/
@Getter
@Setter
@Facebook("artists_we_like")
private String artistsWeLike;
/**
* relevance score of an asset.
*
* @return relevance score of an asset
*/
@Getter
@Setter
@Facebook("asset_score")
private Double assetScore;
/**
* Dress code of the business. Applicable to Restaurants or Nightlife. Can be one of Casual, Dressy or Unspecified
*
* @since 1.10.0
* @return dress code of the business
*/
@Getter
@Setter
@Facebook
private String attire;
/**
* The awards information of the film. Applicable to Films
*
* @since 1.10.0
* @return the awards information of the film
*/
@Getter
@Setter
@Facebook
private String awards;
/**
* Band interests. Applicable to Bands
*
* @since 1.10.0
* @return band interests
*/
@Getter
@Setter
@Facebook("band_interests")
private String bandInterests;
/**
* Members of the band. Applicable to Bands
*
* @since 1.10.0
* @return members of the band
*/
@Getter
@Setter
@Facebook("band_members")
private String bandMembers;
/**
* The best available Page on Facebook for the concept represented by this Page. The best available Page takes into
* account authenticity and the number of likes
*
* @since 1.10.0
* @return The best available Page on Facebook for the concept represented by this Page
*/
@Getter
@Setter
@Facebook("best_page")
private Page bestPage;
/**
* The mailing or contact address for this page. This field will be blank if the contact address is the same as the
* physical address
*
* @since 1.10.0
* @return The mailing or contact address for this page
*/
@Getter
@Setter
@Facebook("contact_address")
private MailingAddress contactAddress;
/**
* If this is a Page in a Global Pages hierarchy, the number of people who are being directed to this Page.
*
* @return If this is a Page in a Global Pages hierarchy, the number of people who are being directed to this Page.
*/
@Getter
@Setter
@Facebook("country_page_likes")
private Integer countryPageLikes;
/**
* The Page's category. e.g. Product/Service, Computers/Technology
*
* @return The Page's category. e.g. Product/Service, Computers/Technology
*/
@Getter
@Setter
@Facebook
private String category;
/**
* Biography of the band. Applicable to Bands
*
* @since 1.10.0
* @return Biography of the band
*/
@Getter
@Setter
@Facebook
private String bio;
/**
* Birthday of this person. Applicable to Pages representing people
*
* @since 1.10.0
* @return birthday of this person
*/
@Getter
@Setter
@Facebook
private String birthday;
/**
* Year vehicle was built. Applicable to Vehicles
*
* @since 1.10.0
* @return Year vehicle was built
*/
@Getter
@Setter
@Facebook
private String built;
/**
* The Business associated with this Page.
*/
@Getter
@Setter
@Facebook
private Business business;
/**
* Culinary team of the business. Applicable to Restaurants or Nightlife
*
* @since 1.10.0
* @return culinary team of the business
*/
@Getter
@Setter
@Facebook("culinary_team")
private String culinaryTeam;
/**
* Current location of the Page.
*
* @since 1.10.0
* @return current location of the Page
*/
@Getter
@Setter
@Facebook("current_location")
private String currentLocation;
/**
* Features of the vehicle. Applicable to Vehicles
*
* @since 1.10.0
* @return Features of the vehicle
*/
@Getter
@Setter
@Facebook
private String features;
/**
* The name of the Page with country codes appended for Global Brand Pages. Only visible to the Page admin
*
* @since 1.10.0
* @return The name of the Page with country codes appended for Global Brand Pages
*/
@Getter
@Setter
@Facebook("global_brand_page_name")
private String globalBrandPageName;
/**
* This brand's global Root ID.
*
* @return This brand's global Root ID
*/
@Getter
@Setter
@Facebook("global_brand_root_id")
private String globalBrandRootId;
/**
* This brand's global (parent) Page.
*
* @since 1.10.0
* @return this brand's global (parent) Page
*/
@Getter
@Setter
@Facebook("global_brand_parent_page")
private Page globalBrandParentPage;
/**
* Indicates whether this Page has added the app making the query in a Page tab.
*
* @since 1.10.0
* @return Indicates whether this Page has added the app making the query in a Page tab
*/
@Getter
@Setter
@Facebook("has_added_app")
private Boolean hasAddedApp;
/**
* has whatsapp number
*
* @return has whatsapp number
*/
@Getter
@Setter
@Facebook("has_whatsapp_number")
private Boolean hasWhatsappNumber;
/**
* Indicates whether WhatsApp number connected to this page is a WhatsApp business number
*
* @return Whatsapp business number
*/
@Getter
@Setter
@Facebook("has_whatsapp_business_number")
private Boolean hasWhatsappBusinessNumber;
/**
* Hometown of the band. Applicable to Bands
*
* @since 1.10.0
* @return Hometown of the band
*/
@Getter
@Setter
@Facebook
private String hometown;
@Facebook("hours")
private List<JsonObject> rawHours = new ArrayList<>();
@Facebook("hours")
private Map<String, String> rawHoursMap = new HashMap<>();
/**
* Opening hours
*
* @since 1.10.1
*/
@Getter
@Setter
private Hours hours;
/**
* Legal information about the Page publishers.
*
* @since 1.10.0
* @return Legal information about the Page publishers
*/
@Getter
@Setter
@Facebook
private String impressum;
/**
* Influences on the band. Applicable to Bands
*
* @since 1.10.0
* @return Influences on the band
*/
@Getter
@Setter
@Facebook
private String influences;
/**
* Whether the business corresponding to this Page is permanently closed.
*
* @since 1.10.0
* @return Whether the business corresponding to this Page is permanently closed
*/
@Getter
@Setter
@Facebook("is_permanently_closed")
private Boolean isPermanentlyClosed;
private List<PageLabel> labels = new ArrayList<>();
/**
* owner business of this object
*
* @return owner business of this object
*/
@Getter
@Setter
@Facebook("owner_business")
private Business ownerBusiness;
/**
* Overall page rating based on rating survey from users on a scale of 1-5. This value is normalized and is not
* guaranteed to be a strict average of user ratings. If there are 0 or a small number of ratings, this field will not
* be returned.
*/
@Getter
@Setter
@Facebook("overall_star_rating")
private Double overallStarRating;
/**
* Number of ratings for the page (limited to ratings that are publicly accessible
*/
@Getter
@Setter
@Facebook("rating_count")
private Integer ratingCount;
/**
* Messenger page scope id associated with page and a user using account_linking_token
*
* @return Messenger page scope id associated with page and a user using account_linking_token
*/
@Getter
@Setter
@Facebook
private String recipient;
@Facebook("labels")
private transient String rawLabels;
/**
* Personal information. Applicable to Pages representing People
*
* @since 1.10.0
* @return Personal information
*/
@Getter
@Setter
@Facebook("personal_info")
private String personalInfo;
/**
* Payment options accepted by the business. Applicable to Restaurants or Nightlife
*
* @since 1.10.0
* @return Payment options accepted by the business
*/
@Getter
@Setter
@Facebook("payment_options")
private PagePaymentOptions paymentOptions;
/**
* Personal interests. Applicable to Pages representing People
*
* @since 1.10.0
* @return Personal interests
*/
@Getter
@Setter
@Facebook("personal_interests")
private String personalInterests;
/**
* Pharmacy safety information. Applicable to Pharmaceutical companies
*
* @since 1.10.0
* @return Pharmacy safety information
*/
@Getter
@Setter
@Facebook("pharma_safety_info")
private String pharmaSafetyInfo;
/**
* For places, the category of the place.
*
* @return For places, the category of the place
*/
@Getter
@Setter
@Facebook("place_type")
private String placeType;
/**
* The plot outline of the film. Applicable to Films
*
* @since 1.10.0
* @return The plot outline of the film
*/
@Getter
@Setter
@Facebook("plot_outline")
private String plotOutline;
/**
* Price range of the business. Applicable to Restaurants or Nightlife. Can be one of $ (0-10), $$ (10-30), $$$
* (30-50), $$$$ (50+) or Unspecified
*
* @since 1.10.0
* @return Price range of the business
*/
@Getter
@Setter
@Facebook("price_range")
private String priceRange;
/**
* The productor of the film. Applicable to Films
*
* @since 1.10.0
* @return The productor of the film
*/
@Getter
@Setter
@Facebook("produced_by")
private String producedBy;
/**
* Reason why a post isn't eligible for boosting. Only visible to Page Admins
*
* @since 1.10.0
* @return Reason why a post isn't eligible for boosting
*/
@Getter
@Setter
@Facebook("promotion_eligible")
private Boolean promotionEligible;
/**
* Reason, for which boosted posts are not eligible. Only visible to a page admin
*
* @since 1.10.0
* @return Reason, for which boosted posts are not eligible
*/
@Getter
@Setter
@Facebook("promotion_ineligible_reason")
private String promotionIneligibleReason;
/**
* Public transit to the business. Applicable to Restaurants or Nightlife
*
* @since 1.10.0
* @return Public transit to the business
*/
@Getter
@Setter
@Facebook("public_transit")
private String publicTransit;
/**
* Record label of the band. Applicable to Bands
*
* @since 1.10.0
* @return Record label of the band
*/
@Getter
@Setter
@Facebook("record_label")
private String recordLabel;
/**
* The film's release date. Applicable to Films
*
* @since 1.10.0
* @return The film's release date
*/
@Getter
@Setter
@Facebook("release_date")
private String releaseDate;
/**
* Services the restaurant provides. Applicable to Restaurants
*
* @since 1.10.0
* @return Services the restaurant provides
*/
@Getter
@Setter
@Facebook("restaurant_services")
private PageRestaurantServices restaurantServices;
/**
* The restaurant's specialties. Applicable to Restaurants
*
* @since 1.10.0
* @return The restaurant's specialties
*/
@Getter
@Setter
@Facebook("restaurant_specialties")
private PageRestaurantSpecialties restaurantSpecialties;
/**
* Unique store code for this location Page
*/
@Getter
@Setter
@Facebook("store_code")
private String storeCode;
/**
* Location Page's store location descriptor
*/
@Getter
@Setter
@Facebook("store_location_descriptor")
@GraphAPI(since = "2.5")
private String storeLocationDescriptor;
/**
* The genre of the film. Applicable to Films
*
* @since 1.10.0
* @return The genre of the film
*/
@Getter
@Setter
@Facebook
private String genre;
/**
* MPG of the vehicle. Applicable to Vehicles
*
* @since 1.10.0
* @return MPG of the vehicle
*/
@Getter
@Setter
@Facebook
private String mpg;
/**
* The TV network for the TV show. Applicable to TV Shows
*
* @since 1.10.0
* @return The TV network for the TV show
*/
@Getter
@Setter
@Facebook
private String network;
/**
* The number of people who have liked the Page, since the last login. Only visible to a page admin
*
* @since 1.10.0
* @return The number of people who have liked the Page, since the last login
*/
@Getter
@Setter
@Facebook("new_like_count")
private Long newLikeCount;
/**
* Offer eligibility status. Only visible to a page admin
*
* @since 1.10.0
* @return Offer eligibility status
*/
@Getter
@Setter
@Facebook("offer_eligible")
private Boolean offerEligible;
/**
* The air schedule of the TV show. Applicable to TV Shows
*
* @since 1.10.0
* @return The air schedule of the TV show
*/
@Getter
@Setter
@Facebook
private String schedule;
/**
* The screenwriter of the film. Applicable to Films
*
* @since 1.10.0
* @return The screenwriter of the film
*/
@Getter
@Setter
@Facebook("screenplay_by")
private String screenplayBy;
/**
* The season information of the TV Show. Applicable to TV Shows
*
* @since 1.10.0
* @return The season information of the TV Show
*/
@Getter
@Setter
@Facebook
private String season;
/**
* The page address, if any, in a simple single line format.
*
* @return The page address, if any, in a simple single line format
*/
@Getter
@Setter
@Facebook("single_line_address")
private String singleLineAddress;
/**
* The cast of the film. Applicable to Films
*
* @since 1.10.0
* @return The cast of the film
*/
@Getter
@Setter
@Facebook
private String starring;
/**
* Information about when the entity represented by the Page was started
*
* @since 1.10.0
* @return Information about when the entity represented by the Page was started
*/
@Getter
@Setter
@Facebook("start_info")
private PageStartInfo startInfo;
/**
* Unique store number for this location Page.
*
* @since 1.10.0
* @return Unique store number for this location Page
*/
@Getter
@Setter
@Facebook("store_number")
private String storeNumber;
/**
* The studio for the film production. Applicable to Films
*
* @since 1.10.0
* @return The studio for the film production
*/
@Getter
@Setter
@Facebook
private String studio;
/**
* The social sentence and like count information for this Page. This is the same info used for the like button
*
* @since 1.10.0
* @return The social sentence and like count information for this Page
*/
@Getter
@Setter
@Facebook
private Engagement engagement;
/**
* Unread message count for the Page. Only visible to a page admin
*
* @since 1.10.0
* @return Unread message count for the Page
*/
@Getter
@Setter
@Facebook("unread_message_count")
private Long unreadMessageCount;
/**
* Number of unread notifications. Only visible to a page admin
*
* @since 1.10.0
* @return Number of unread notifications
*/
@Getter
@Setter
@Facebook("unread_notif_count")
private Long unreadNotifCount;
/**
* Unseen message count for the Page. Only visible to a page admin
*
* @since 1.10.0
* @return Unseen message count for the Page
*/
@Getter
@Setter
@Facebook("unseen_message_count")
private Long unseenMessageCount;
/**
* Members of this org. Applicable to Pages representing Team Orgs
*
* @since 1.10.0
* @return Members of this org
*/
@Getter
@Setter
@Facebook
private String members;
/**
* The number of visits to this Page's location. If the Page setting Show map, check-ins and star ratings on the Page
* (under Page Settings > Page Info > Address) is disabled, then this value will also be disabled
*
* @since 1.10.0
* @return The number of visits to this Page's location
*/
@Getter
@Setter
@Facebook("were_here_count")
private Long wereHereCount;
/**
* Video Featured by the Page. Only visible to the Page admin
*
* @since 1.10.0
* @return Video Featured by the Page
*/
@Getter
@Setter
@Facebook("featured_video")
private Video featuredVideo;
/**
* Showing whether this Page is verified and in what color e.g. blue verified, gray verified or not verified
*
* @return Showing whether this Page is verified and in what color
*/
@Getter
@Setter
@Facebook("verification_status")
private String verificationStatus;
/**
* Voip info
*
* @since 1.10.0
* @return Voip info
*/
@Getter
@Setter
@Facebook("voip_info")
private VoipInfo voipInfo;
/**
* The writer of the TV show. Applicable to TV Shows
*
* @since 1.10.0
* @return The writer of the TV show
*/
@Getter
@Setter
@Facebook("written_by")
private String writtenBy;
/**
* whatsapp number
*
* @return whatsapp number
*/
@Getter
@Setter
@Facebook("whatsapp_number")
private String whatsappNumber;
/**
* The page's link.
*
* @return The page's link.
*/
@Getter
@Setter
@Facebook
private String link;
/**
* The page's username. The alias of the Page. For example, for www.facebook.com/platform the username is 'platform'
*
* @return The page's username.
*/
@Getter
@Setter
@Facebook
private String username;
/**
* When the page was founded.
*
* @return When the page was founded.
*/
@Getter
@Setter
@Facebook
private String founded;
/**
* Overview of the page's company.
*
* @return Overview of the page's company.
*/
@Getter
@Setter
@Facebook("company_overview")
private String companyOverview;
/**
* The company mission. Applicable to Companies
*
* @return The page's mission.
*/
@Getter
@Setter
@Facebook
private String mission;
/**
* The page's products.
*
* @return The page's products.
*/
@Getter
@Setter
@Facebook
private String products;
@Getter
@Setter
@Facebook("page_token")
private String pageToken;
/**
* Parent Page of this Page.
*
* If the Page is part of a Global Root Structure and you have permission to the Global Root,
* the Global Root Parent Page is returned. If you do not have Global Root permission,
* the Market Page for your current region is returned as the Parent Page.
*
* If your Page is not part of a Global Root Structure, the Parent Page is returned.
*
* @return parent page of this page
*/
@Getter
@Setter
@Facebook("parent_page")
private Page parentPage;
/**
* Indicates whether a user has accepted the TOS for running LeadGen Ads on the Page.
*
* @return Indicates whether a user has accepted the TOS for running LeadGen Ads on the Page
*/
@Getter
@Setter
@Facebook("leadgen_tos_accepted")
private Boolean leadgenTosAccepted;
/**
* The number of likes the page has.
*
* Since Graph 2.6 you should use {@link Page#fanCount} instead
*
* @return The number of likes the page has
* @since 1.6.5
*/
@Getter(onMethod_ = {@GraphAPI(until = "2.5")})
@Setter
@Facebook("likes")
@GraphAPI(until = "2.5")
private Long likesCount;
/**
* The Pages that this Page Likes.
*
* @return The Pages that this Page Likes.
*/
@Getter(onMethod_ = {@GraphAPI(since = "2.6")})
@Setter
@Facebook
@GraphAPI(since = "2.6")
private Likes likes;
/**
* The number of likes the page has.
*
* @return The number of likes the page has
*/