Profile

@JsonClass(generateAdapter = true)
class Profile

A user's profile information.

Parameters

hash

The SHA256 hash of the user's primary email address.

displayName

The user's display name. This is the name that is displayed on their profile.

profileUrl

The full URL for the user's profile.

avatarUrl

The URL for the user's avatar image if it has been set.

avatarAltText

The alt text for the user's avatar image if it has been set.

location

The user's location.

description

The about section on a user's profile.

jobTitle

The user's job title.

company

The user's current company's name.

verifiedAccounts

A list of verified accounts the user has added to their profile. This is limited to a max of 4 in unauthenticated requests.

pronunciation

The phonetic pronunciation of the user's name.

pronouns

The pronouns the user uses.

timezone

The timezone the user has. This is only provided in authenticated API requests.

languages

The languages the user knows. This is only provided in authenticated API requests.

firstName

User's first name. This is only provided in authenticated API requests.

lastName

User's last name. This is only provided in authenticated API requests.

isOrganization

Whether user is an organization. This is only provided in authenticated API requests.

headerImage

The header image used in the main profile card.

backgroundColor

The profile background color.

links

A list of links the user has added to their profile. This is only provided in authenticated API requests.

interests

A list of interests the user has added to their profile. This is only provided in authenticated API requests.

payments
contactInfo
gallery

Additional images a user has uploaded. This is only provided in authenticated API requests.

numberVerifiedAccounts

The number of verified accounts the user has added to their profile. This count includes verified accounts the user is hiding from their profile. This is only provided in authenticated API requests.

lastProfileEdit

The date and time (UTC) the user last edited their profile. This is only provided in authenticated API requests.

registrationDate

The date the user registered their account. This is only provided in authenticated API requests.

Types

Link copied to clipboard
class Builder

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val backgroundColor: String? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val firstName: String? = null
Link copied to clipboard
val gallery: List<GalleryImage>? = null
Link copied to clipboard
Link copied to clipboard
val headerImage: String? = null
Link copied to clipboard
val interests: List<Interest>? = null
Link copied to clipboard
val isOrganization: Boolean? = null
Link copied to clipboard
Link copied to clipboard
val languages: List<Language>? = null
Link copied to clipboard
val lastName: String? = null
Link copied to clipboard
val lastProfileEdit: String? = null
Link copied to clipboard
val links: List<Link>? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val timezone: String? = null
Link copied to clipboard

Functions

Link copied to clipboard
fun Profile.avatarUrl(avatarQueryOptions: AvatarQueryOptions? = null): AvatarUrl

Get the avatar URL for a user profile.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard

Get formatted user info for a user profile.

Link copied to clipboard

Get the hash for a user profile.

Link copied to clipboard
open override fun hashCode(): Int
Link copied to clipboard

Get the profile URL for a user profile.

Link copied to clipboard
open override fun toString(): String