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/graph-api/reference/privacy/">Privacy Graph API type</a> 029 * . 030 * 031 * @author <a href="http://restfb.com">Mark Allen</a> 032 * @since 1.5 033 */ 034public class Privacy extends AbstractFacebookType { 035 /** 036 * The description of the privacy value. 037 */ 038 @Facebook 039 private String value; 040 /** 041 * The privacy description. 042 */ 043 @Facebook 044 private String description; 045 /** 046 * The privacy friends restriction. 047 */ 048 @Facebook 049 private String friends; 050 /** 051 * The privacy networks restriction. 052 */ 053 @Facebook 054 private String networks; 055 /** 056 * For CUSTOM settings, a comma-separated list of user IDs and friend list IDs that "cannot" see the post. 057 */ 058 @Facebook 059 private String deny; 060 /** 061 * For CUSTOM settings, a comma-separated list of user IDs and friend list IDs that "can" see the post. This can also 062 * be ALL_FRIENDS or FRIENDS_OF_FRIENDS to include all members of those sets. 063 */ 064 @Facebook 065 private String allow; 066 private static final long serialVersionUID = 1L; 067 068 /** 069 * The description of the privacy value. 070 * 071 * @return The description of the privacy value. 072 */ 073 @java.lang.SuppressWarnings("all") 074 @lombok.Generated 075 public String getValue() { 076 return this.value; 077 } 078 079 /** 080 * The description of the privacy value. 081 */ 082 @java.lang.SuppressWarnings("all") 083 @lombok.Generated 084 public void setValue(final String value) { 085 this.value = value; 086 } 087 088 /** 089 * The privacy description. 090 * 091 * @return The privacy description. 092 */ 093 @java.lang.SuppressWarnings("all") 094 @lombok.Generated 095 public String getDescription() { 096 return this.description; 097 } 098 099 /** 100 * The privacy description. 101 */ 102 @java.lang.SuppressWarnings("all") 103 @lombok.Generated 104 public void setDescription(final String description) { 105 this.description = description; 106 } 107 108 /** 109 * The privacy friends restriction. 110 * 111 * @return The privacy friends restriction. 112 */ 113 @java.lang.SuppressWarnings("all") 114 @lombok.Generated 115 public String getFriends() { 116 return this.friends; 117 } 118 119 /** 120 * The privacy friends restriction. 121 */ 122 @java.lang.SuppressWarnings("all") 123 @lombok.Generated 124 public void setFriends(final String friends) { 125 this.friends = friends; 126 } 127 128 /** 129 * The privacy networks restriction. 130 * 131 * @return The privacy networks restriction. 132 */ 133 @java.lang.SuppressWarnings("all") 134 @lombok.Generated 135 public String getNetworks() { 136 return this.networks; 137 } 138 139 /** 140 * The privacy networks restriction. 141 */ 142 @java.lang.SuppressWarnings("all") 143 @lombok.Generated 144 public void setNetworks(final String networks) { 145 this.networks = networks; 146 } 147 148 /** 149 * For CUSTOM settings, a comma-separated list of user IDs and friend list IDs that "cannot" see the post. 150 * 151 * @return The privacy "deny" restriction. 152 */ 153 @java.lang.SuppressWarnings("all") 154 @lombok.Generated 155 public String getDeny() { 156 return this.deny; 157 } 158 159 /** 160 * For CUSTOM settings, a comma-separated list of user IDs and friend list IDs that "cannot" see the post. 161 */ 162 @java.lang.SuppressWarnings("all") 163 @lombok.Generated 164 public void setDeny(final String deny) { 165 this.deny = deny; 166 } 167 168 /** 169 * For CUSTOM settings, a comma-separated list of user IDs and friend list IDs that "can" see the post. This can also 170 * be ALL_FRIENDS or FRIENDS_OF_FRIENDS to include all members of those sets. 171 * 172 * @return The privacy "allow" restriction. 173 */ 174 @java.lang.SuppressWarnings("all") 175 @lombok.Generated 176 public String getAllow() { 177 return this.allow; 178 } 179 180 /** 181 * For CUSTOM settings, a comma-separated list of user IDs and friend list IDs that "can" see the post. This can also 182 * be ALL_FRIENDS or FRIENDS_OF_FRIENDS to include all members of those sets. 183 */ 184 @java.lang.SuppressWarnings("all") 185 @lombok.Generated 186 public void setAllow(final String allow) { 187 this.allow = allow; 188 } 189}