001// Generated by delombok at Sun Sep 07 20:35:12 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.threads;
024
025import com.restfb.Facebook;
026
027/**
028 * Represents the Threads public profile.
029 * <p>
030 * <a href="https://developers.facebook.com/docs/threads/threads-profiles#retrieve-a-threads-user-s-public-profile-information">Threads reference</a>
031 */
032public class TdPublicProfile extends TdProfileBase {
033  private static final long serialVersionUID = 1L;
034  /**
035   * URL of the user's profile picture on Threads.
036   */
037  @Facebook("profile_picture_url")
038  private String profilePictureUrl;
039  /**
040   * Biography text on Threads profile.
041   */
042  @Facebook
043  private String biography;
044  /**
045   * Returns true if the user is verified on Threads.
046   */
047  @Facebook("is_verified")
048  private Boolean isVerified;
049  /**
050   * Returns the number of followers on Threads.
051   */
052  @Facebook("follower_count")
053  private Integer followerCount;
054  /**
055   * Returns the number of likes on Threads.
056   */
057  @Facebook("likes_count")
058  private Integer likesCount;
059  /**
060   * Returns the number of quotes on Threads.
061   */
062  @Facebook("quotes_count")
063  private Integer quotesCount;
064  /**
065   * Returns the number of reposts on Threads.
066   */
067  @Facebook("reposts_count")
068  private Integer repostsCount;
069  /**
070   * Returns the number of views on Threads.
071   */
072  @Facebook("views_count")
073  private Integer viewsCount;
074
075  /**
076   * URL of the user's profile picture on Threads.
077   */
078  @java.lang.SuppressWarnings("all")
079  public String getProfilePictureUrl() {
080    return this.profilePictureUrl;
081  }
082
083  /**
084   * URL of the user's profile picture on Threads.
085   */
086  @java.lang.SuppressWarnings("all")
087  public void setProfilePictureUrl(final String profilePictureUrl) {
088    this.profilePictureUrl = profilePictureUrl;
089  }
090
091  /**
092   * Biography text on Threads profile.
093   */
094  @java.lang.SuppressWarnings("all")
095  public String getBiography() {
096    return this.biography;
097  }
098
099  /**
100   * Biography text on Threads profile.
101   */
102  @java.lang.SuppressWarnings("all")
103  public void setBiography(final String biography) {
104    this.biography = biography;
105  }
106
107  /**
108   * Returns true if the user is verified on Threads.
109   */
110  @java.lang.SuppressWarnings("all")
111  public Boolean getIsVerified() {
112    return this.isVerified;
113  }
114
115  /**
116   * Returns true if the user is verified on Threads.
117   */
118  @java.lang.SuppressWarnings("all")
119  public void setIsVerified(final Boolean isVerified) {
120    this.isVerified = isVerified;
121  }
122
123  /**
124   * Returns the number of followers on Threads.
125   */
126  @java.lang.SuppressWarnings("all")
127  public Integer getFollowerCount() {
128    return this.followerCount;
129  }
130
131  /**
132   * Returns the number of followers on Threads.
133   */
134  @java.lang.SuppressWarnings("all")
135  public void setFollowerCount(final Integer followerCount) {
136    this.followerCount = followerCount;
137  }
138
139  /**
140   * Returns the number of likes on Threads.
141   */
142  @java.lang.SuppressWarnings("all")
143  public Integer getLikesCount() {
144    return this.likesCount;
145  }
146
147  /**
148   * Returns the number of likes on Threads.
149   */
150  @java.lang.SuppressWarnings("all")
151  public void setLikesCount(final Integer likesCount) {
152    this.likesCount = likesCount;
153  }
154
155  /**
156   * Returns the number of quotes on Threads.
157   */
158  @java.lang.SuppressWarnings("all")
159  public Integer getQuotesCount() {
160    return this.quotesCount;
161  }
162
163  /**
164   * Returns the number of quotes on Threads.
165   */
166  @java.lang.SuppressWarnings("all")
167  public void setQuotesCount(final Integer quotesCount) {
168    this.quotesCount = quotesCount;
169  }
170
171  /**
172   * Returns the number of reposts on Threads.
173   */
174  @java.lang.SuppressWarnings("all")
175  public Integer getRepostsCount() {
176    return this.repostsCount;
177  }
178
179  /**
180   * Returns the number of reposts on Threads.
181   */
182  @java.lang.SuppressWarnings("all")
183  public void setRepostsCount(final Integer repostsCount) {
184    this.repostsCount = repostsCount;
185  }
186
187  /**
188   * Returns the number of views on Threads.
189   */
190  @java.lang.SuppressWarnings("all")
191  public Integer getViewsCount() {
192    return this.viewsCount;
193  }
194
195  /**
196   * Returns the number of views on Threads.
197   */
198  @java.lang.SuppressWarnings("all")
199  public void setViewsCount(final Integer viewsCount) {
200    this.viewsCount = viewsCount;
201  }
202}