001// Generated by delombok at Fri Oct 11 21:56:29 CEST 2019
002/**
003 * Copyright (c) 2010-2019 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 com.restfb.Facebook;
026
027/**
028 * Represents the <a href="https://developers.facebook.com/docs/graph-api/reference/instagram-user/">Instagram User</a>
029 * API type.
030 */
031public class InstagramUser extends FacebookType {
032  /**
033   * Number of Instagram users that this Instagram user follows
034   */
035  @Facebook("follow_count")
036  private Long followCount;
037  /**
038   * Number of Instagram users that follow this Instagram user
039   */
040  @Facebook("followed_by_count")
041  private Long followedByCount;
042  /**
043   * Indicates whether Instagram Account has a profile picture
044   */
045  @Facebook("has_profile_picture")
046  private Boolean hasProfilePicture;
047  /**
048   * Whether the Instagram user is private
049   */
050  @Facebook("is_private")
051  private Boolean isPrivate;
052  /**
053   * Whether the Instagram user is published
054   */
055  @Facebook("is_published")
056  private Boolean isPublished;
057  /**
058   * Number of active media posted by this Instagram user
059   */
060  @Facebook("media_count")
061  private Long mediaCount;
062  /**
063   * URI to user's Instagram profile picture
064   */
065  @Facebook("profile_pic")
066  private String profilePic;
067  /**
068   * Instagram username
069   */
070  @Facebook
071  private String username;
072
073  /**
074   * Number of Instagram users that this Instagram user follows
075   */
076  @java.lang.SuppressWarnings("all")
077  public Long getFollowCount() {
078    return this.followCount;
079  }
080
081  /**
082   * Number of Instagram users that this Instagram user follows
083   */
084  @java.lang.SuppressWarnings("all")
085  public void setFollowCount(final Long followCount) {
086    this.followCount = followCount;
087  }
088
089  /**
090   * Number of Instagram users that follow this Instagram user
091   */
092  @java.lang.SuppressWarnings("all")
093  public Long getFollowedByCount() {
094    return this.followedByCount;
095  }
096
097  /**
098   * Number of Instagram users that follow this Instagram user
099   */
100  @java.lang.SuppressWarnings("all")
101  public void setFollowedByCount(final Long followedByCount) {
102    this.followedByCount = followedByCount;
103  }
104
105  /**
106   * Indicates whether Instagram Account has a profile picture
107   */
108  @java.lang.SuppressWarnings("all")
109  public Boolean getHasProfilePicture() {
110    return this.hasProfilePicture;
111  }
112
113  /**
114   * Indicates whether Instagram Account has a profile picture
115   */
116  @java.lang.SuppressWarnings("all")
117  public void setHasProfilePicture(final Boolean hasProfilePicture) {
118    this.hasProfilePicture = hasProfilePicture;
119  }
120
121  /**
122   * Whether the Instagram user is private
123   */
124  @java.lang.SuppressWarnings("all")
125  public Boolean getIsPrivate() {
126    return this.isPrivate;
127  }
128
129  /**
130   * Whether the Instagram user is private
131   */
132  @java.lang.SuppressWarnings("all")
133  public void setIsPrivate(final Boolean isPrivate) {
134    this.isPrivate = isPrivate;
135  }
136
137  /**
138   * Whether the Instagram user is published
139   */
140  @java.lang.SuppressWarnings("all")
141  public Boolean getIsPublished() {
142    return this.isPublished;
143  }
144
145  /**
146   * Whether the Instagram user is published
147   */
148  @java.lang.SuppressWarnings("all")
149  public void setIsPublished(final Boolean isPublished) {
150    this.isPublished = isPublished;
151  }
152
153  /**
154   * Number of active media posted by this Instagram user
155   */
156  @java.lang.SuppressWarnings("all")
157  public Long getMediaCount() {
158    return this.mediaCount;
159  }
160
161  /**
162   * Number of active media posted by this Instagram user
163   */
164  @java.lang.SuppressWarnings("all")
165  public void setMediaCount(final Long mediaCount) {
166    this.mediaCount = mediaCount;
167  }
168
169  /**
170   * URI to user's Instagram profile picture
171   */
172  @java.lang.SuppressWarnings("all")
173  public String getProfilePic() {
174    return this.profilePic;
175  }
176
177  /**
178   * URI to user's Instagram profile picture
179   */
180  @java.lang.SuppressWarnings("all")
181  public void setProfilePic(final String profilePic) {
182    this.profilePic = profilePic;
183  }
184
185  /**
186   * Instagram username
187   */
188  @java.lang.SuppressWarnings("all")
189  public String getUsername() {
190    return this.username;
191  }
192
193  /**
194   * Instagram username
195   */
196  @java.lang.SuppressWarnings("all")
197  public void setUsername(final String username) {
198    this.username = username;
199  }
200}