001// Generated by delombok at Sun Apr 14 14:59:49 CEST 2024 002/* 003 * Copyright (c) 2010-2024 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.instagram; 024 025import com.restfb.Facebook; 026import com.restfb.annotation.GraphAPI; 027import com.restfb.types.NamedFacebookType; 028 029/** 030 * Respresents the Instagram User Profile object as defined 031 * <a href="https://developers.facebook.com/docs/messenger-platform/instagram/features/user-profile">here</a> 032 */ 033public class IgUserProfile extends NamedFacebookType { 034 /** 035 * URL to the Profile picture. 036 * 037 * The URL will expire in a few days. 038 */ 039 @Facebook("profile_pic") 040 private String profilePic; 041 /** 042 * Verification status of the user 043 */ 044 @GraphAPI(since = "12.0") 045 @Facebook("is_verified_user") 046 private Boolean isVerifiedUser; 047 /** 048 * Follower count of the user 049 */ 050 @GraphAPI(since = "12.0") 051 @Facebook("follower_count") 052 private Integer followerCount; 053 /** 054 * A flag indicating whether the user follow the business or not 055 */ 056 @GraphAPI(since = "12.0") 057 @Facebook("is_user_follow_business") 058 private Boolean isUserFollowBusiness; 059 /** 060 * A flag indicating whether the business follow the user or not 061 */ 062 @GraphAPI(since = "12.0") 063 @Facebook("is_business_follow_user") 064 private Boolean isBusinessFollowUser; 065 /** 066 * The username for the customer's Instagram account 067 */ 068 @GraphAPI(since = "14.0") 069 @Facebook 070 private String username; 071 072 /** 073 * URL to the Profile picture. 074 * 075 * The URL will expire in a few days. 076 */ 077 @java.lang.SuppressWarnings("all") 078 public String getProfilePic() { 079 return this.profilePic; 080 } 081 082 /** 083 * URL to the Profile picture. 084 * 085 * The URL will expire in a few days. 086 */ 087 @java.lang.SuppressWarnings("all") 088 public void setProfilePic(final String profilePic) { 089 this.profilePic = profilePic; 090 } 091 092 /** 093 * Verification status of the user 094 */ 095 @java.lang.SuppressWarnings("all") 096 public Boolean getIsVerifiedUser() { 097 return this.isVerifiedUser; 098 } 099 100 /** 101 * Verification status of the user 102 */ 103 @java.lang.SuppressWarnings("all") 104 public void setIsVerifiedUser(final Boolean isVerifiedUser) { 105 this.isVerifiedUser = isVerifiedUser; 106 } 107 108 /** 109 * Follower count of the user 110 */ 111 @java.lang.SuppressWarnings("all") 112 public Integer getFollowerCount() { 113 return this.followerCount; 114 } 115 116 /** 117 * Follower count of the user 118 */ 119 @java.lang.SuppressWarnings("all") 120 public void setFollowerCount(final Integer followerCount) { 121 this.followerCount = followerCount; 122 } 123 124 /** 125 * A flag indicating whether the user follow the business or not 126 */ 127 @java.lang.SuppressWarnings("all") 128 public Boolean getIsUserFollowBusiness() { 129 return this.isUserFollowBusiness; 130 } 131 132 /** 133 * A flag indicating whether the user follow the business or not 134 */ 135 @java.lang.SuppressWarnings("all") 136 public void setIsUserFollowBusiness(final Boolean isUserFollowBusiness) { 137 this.isUserFollowBusiness = isUserFollowBusiness; 138 } 139 140 /** 141 * A flag indicating whether the business follow the user or not 142 */ 143 @java.lang.SuppressWarnings("all") 144 public Boolean getIsBusinessFollowUser() { 145 return this.isBusinessFollowUser; 146 } 147 148 /** 149 * A flag indicating whether the business follow the user or not 150 */ 151 @java.lang.SuppressWarnings("all") 152 public void setIsBusinessFollowUser(final Boolean isBusinessFollowUser) { 153 this.isBusinessFollowUser = isBusinessFollowUser; 154 } 155 156 /** 157 * The username for the customer's Instagram account 158 */ 159 @java.lang.SuppressWarnings("all") 160 public String getUsername() { 161 return this.username; 162 } 163 164 /** 165 * The username for the customer's Instagram account 166 */ 167 @java.lang.SuppressWarnings("all") 168 public void setUsername(final String username) { 169 this.username = username; 170 } 171}