001// Generated by delombok at Thu Aug 13 13:56:44 UTC 2026 002/* 003 * Copyright (c) 2010-2026 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/test_users">Test User type</a>. 029 * 030 * @author <a href="http://ex-nerd.com">Chris Petersen</a> 031 * @author <a href="http://restfb.com">Mark Allen</a> 032 * @since 1.6.10 033 */ 034public class TestUser extends FacebookType { 035 /** 036 * You can use this access token to make API calls on behalf of the test user. This is available only if your app has 037 * been installed by the test user. 038 */ 039 @Facebook("access_token") 040 private String accessToken; 041 /** 042 * You can login as the test user by going to this url. 043 */ 044 @Facebook("login_url") 045 private String loginUrl; 046 /** 047 * If logging in manually (that is, not using the login_url), you can use this as the user's email address. 048 */ 049 @Facebook 050 private String email; 051 /** 052 * If logging in manually (that is, not using the login_url), you can use this as the user's password. 053 */ 054 @Facebook 055 private String password; 056 private static final long serialVersionUID = 1L; 057 058 /** 059 * You can use this access token to make API calls on behalf of the test user. This is available only if your app has 060 * been installed by the test user. 061 * 062 * @return The test user's access token. 063 */ 064 @java.lang.SuppressWarnings("all") 065 @lombok.Generated 066 public String getAccessToken() { 067 return this.accessToken; 068 } 069 070 /** 071 * You can use this access token to make API calls on behalf of the test user. This is available only if your app has 072 * been installed by the test user. 073 */ 074 @java.lang.SuppressWarnings("all") 075 @lombok.Generated 076 public void setAccessToken(final String accessToken) { 077 this.accessToken = accessToken; 078 } 079 080 /** 081 * You can login as the test user by going to this url. 082 * 083 * @return The test user's login url. 084 */ 085 @java.lang.SuppressWarnings("all") 086 @lombok.Generated 087 public String getLoginUrl() { 088 return this.loginUrl; 089 } 090 091 /** 092 * You can login as the test user by going to this url. 093 */ 094 @java.lang.SuppressWarnings("all") 095 @lombok.Generated 096 public void setLoginUrl(final String loginUrl) { 097 this.loginUrl = loginUrl; 098 } 099 100 /** 101 * If logging in manually (that is, not using the login_url), you can use this as the user's email address. 102 * 103 * @return The test user's email address. 104 */ 105 @java.lang.SuppressWarnings("all") 106 @lombok.Generated 107 public String getEmail() { 108 return this.email; 109 } 110 111 /** 112 * If logging in manually (that is, not using the login_url), you can use this as the user's email address. 113 */ 114 @java.lang.SuppressWarnings("all") 115 @lombok.Generated 116 public void setEmail(final String email) { 117 this.email = email; 118 } 119 120 /** 121 * If logging in manually (that is, not using the login_url), you can use this as the user's password. 122 * 123 * @return The test user's password. 124 */ 125 @java.lang.SuppressWarnings("all") 126 @lombok.Generated 127 public String getPassword() { 128 return this.password; 129 } 130 131 /** 132 * If logging in manually (that is, not using the login_url), you can use this as the user's password. 133 */ 134 @java.lang.SuppressWarnings("all") 135 @lombok.Generated 136 public void setPassword(final String password) { 137 this.password = password; 138 } 139}