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/profile-picture-source/">Profile 029 * Picture Source Graph API type</a>. 030 * 031 * @author Norbert Bartels 032 */ 033public class ProfilePictureSource extends AbstractFacebookType { 034 private static final long serialVersionUID = 1L; 035 /** 036 * URL of the profile picture 037 */ 038 @Facebook 039 private String url; 040 /** 041 * Indicates whether the profile photo is the default 'silhouette' picture, or has been replaced 042 */ 043 @Facebook("is_silhouette") 044 private Boolean isSilhouette; 045 /** 046 * Picture height in pixels 047 */ 048 @Facebook 049 private Integer height; 050 /** 051 * Picture width in pixels 052 */ 053 @Facebook 054 private Integer width; 055 056 /** 057 * URL of the profile picture 058 * 059 * @return URL of the profile picture 060 */ 061 @java.lang.SuppressWarnings("all") 062 @lombok.Generated 063 public String getUrl() { 064 return this.url; 065 } 066 067 /** 068 * URL of the profile picture 069 */ 070 @java.lang.SuppressWarnings("all") 071 @lombok.Generated 072 public void setUrl(final String url) { 073 this.url = url; 074 } 075 076 /** 077 * Indicates whether the profile photo is the default 'silhouette' picture, or has been replaced 078 * 079 * @return is the photo the default or has been replaced 080 */ 081 @java.lang.SuppressWarnings("all") 082 @lombok.Generated 083 public Boolean getIsSilhouette() { 084 return this.isSilhouette; 085 } 086 087 /** 088 * Indicates whether the profile photo is the default 'silhouette' picture, or has been replaced 089 */ 090 @java.lang.SuppressWarnings("all") 091 @lombok.Generated 092 public void setIsSilhouette(final Boolean isSilhouette) { 093 this.isSilhouette = isSilhouette; 094 } 095 096 /** 097 * Picture height in pixels 098 * 099 * @return Picture height in pixels 100 */ 101 @java.lang.SuppressWarnings("all") 102 @lombok.Generated 103 public Integer getHeight() { 104 return this.height; 105 } 106 107 /** 108 * Picture height in pixels 109 */ 110 @java.lang.SuppressWarnings("all") 111 @lombok.Generated 112 public void setHeight(final Integer height) { 113 this.height = height; 114 } 115 116 /** 117 * Picture width in pixels 118 * 119 * @return Picture width in pixels 120 */ 121 @java.lang.SuppressWarnings("all") 122 @lombok.Generated 123 public Integer getWidth() { 124 return this.width; 125 } 126 127 /** 128 * Picture width in pixels 129 */ 130 @java.lang.SuppressWarnings("all") 131 @lombok.Generated 132 public void setWidth(final Integer width) { 133 this.width = width; 134 } 135}