Class AvatarInfo
- java.lang.Object
-
- com.google.gerrit.extensions.common.AvatarInfo
-
public class AvatarInfo extends Object
Representation of an avatar in the REST API.This class determines the JSON format of avatars in the REST API.
An avatar is the graphical representation of a user.
-
-
Constructor Summary
Constructors Constructor Description AvatarInfo()
-
-
-
Field Detail
-
DEFAULT_SIZE
public static final int DEFAULT_SIZE
Size in pixels the UI prefers an avatar image to be.The web UI prefers avatar images to be square, both the height and width of the image should be this size. The height is the more important dimension to match than the width.
- See Also:
- Constant Field Values
-
url
public String url
The URL to the avatar image.
-
height
public Integer height
The height of the avatar image in pixels.
-
width
public Integer width
The width of the avatar image in pixels.
-
-