001// Generated by delombok at Fri Oct 04 16:05:59 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.threads; 024 025import com.restfb.Facebook; 026import com.restfb.types.AbstractFacebookType; 027 028/** 029 * Represents the <a href="https://developers.facebook.com/docs/threads/threads-profiles">Threads profile</a> 030 */ 031public class TdProfile extends AbstractFacebookType { 032 private static final long serialVersionUID = 1L; 033 /** 034 * Instagram user ID. This is returned by default. 035 */ 036 @Facebook 037 private String id; 038 /** 039 * Handle or unique username on Threads. This is the same as the username on Instagram. 040 */ 041 @Facebook 042 private String username; 043 /** 044 * name of the Threads profile 045 */ 046 @Facebook 047 private String name; 048 /** 049 * URL of the user's profile picture on Threads. 050 */ 051 @Facebook("threads_profile_picture_url") 052 private String threadsProfilePictureUrl; 053 /** 054 * Biography text on Threads profile. 055 */ 056 @Facebook("threads_biography") 057 private String threadsBiography; 058 059 /** 060 * Instagram user ID. This is returned by default. 061 */ 062 @java.lang.SuppressWarnings("all") 063 public String getId() { 064 return this.id; 065 } 066 067 /** 068 * Instagram user ID. This is returned by default. 069 */ 070 @java.lang.SuppressWarnings("all") 071 public void setId(final String id) { 072 this.id = id; 073 } 074 075 /** 076 * Handle or unique username on Threads. This is the same as the username on Instagram. 077 */ 078 @java.lang.SuppressWarnings("all") 079 public String getUsername() { 080 return this.username; 081 } 082 083 /** 084 * Handle or unique username on Threads. This is the same as the username on Instagram. 085 */ 086 @java.lang.SuppressWarnings("all") 087 public void setUsername(final String username) { 088 this.username = username; 089 } 090 091 /** 092 * name of the Threads profile 093 */ 094 @java.lang.SuppressWarnings("all") 095 public String getName() { 096 return this.name; 097 } 098 099 /** 100 * name of the Threads profile 101 */ 102 @java.lang.SuppressWarnings("all") 103 public void setName(final String name) { 104 this.name = name; 105 } 106 107 /** 108 * URL of the user's profile picture on Threads. 109 */ 110 @java.lang.SuppressWarnings("all") 111 public String getThreadsProfilePictureUrl() { 112 return this.threadsProfilePictureUrl; 113 } 114 115 /** 116 * URL of the user's profile picture on Threads. 117 */ 118 @java.lang.SuppressWarnings("all") 119 public void setThreadsProfilePictureUrl(final String threadsProfilePictureUrl) { 120 this.threadsProfilePictureUrl = threadsProfilePictureUrl; 121 } 122 123 /** 124 * Biography text on Threads profile. 125 */ 126 @java.lang.SuppressWarnings("all") 127 public String getThreadsBiography() { 128 return this.threadsBiography; 129 } 130 131 /** 132 * Biography text on Threads profile. 133 */ 134 @java.lang.SuppressWarnings("all") 135 public void setThreadsBiography(final String threadsBiography) { 136 this.threadsBiography = threadsBiography; 137 } 138}