Class AvatarInfo
java.lang.Object
com.google.gerrit.extensions.common.AvatarInfo
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.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
DEFAULT_SIZE
public static final int DEFAULT_SIZESize 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:
-
url
The URL to the avatar image. -
height
The height of the avatar image in pixels. -
width
The width of the avatar image in pixels.
-
-
Constructor Details
-
AvatarInfo
public AvatarInfo()
-
-
Method Details