Photo

class Photo

Contains information about a user's photo. Users can have up to 3 photos, with one designated as primary. Supports common image formats, including jpg, jpeg, png, and gif.

Types

Link copied to clipboard
class Builder
Link copied to clipboard
object Companion

Properties

Link copied to clipboard

A human-readable description of the photo for display purposes. This optional field provides context about the photo.

Link copied to clipboard

Specifies whether this is the user's primary photo. Default value is false. Only one photo can be designated as primary per user.

Link copied to clipboard
val type: String?

The type of photo. This field is optional and can be used to categorize different types of photos.

Link copied to clipboard

The photo data or URL. Supported formats include jpg, jpeg, png, and gif. This field is required for all photo entries.

Functions

Link copied to clipboard
inline fun copy(block: Photo.Builder.() -> Unit = {}): Photo
Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard
open override fun toString(): String