Profile

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.

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
@SerializedName(value = "avatar_alt_text")
val avatarAltText: String
Link copied to clipboard
@SerializedName(value = "avatar_url")
val avatarUrl: URI
Link copied to clipboard
@SerializedName(value = "company")
val company: String
Link copied to clipboard
@SerializedName(value = "contact_info")
val contactInfo: ProfileContactInfo? = null
Link copied to clipboard
@SerializedName(value = "description")
val description: String
Link copied to clipboard
@SerializedName(value = "display_name")
val displayName: String
Link copied to clipboard
@SerializedName(value = "gallery")
val gallery: List<GalleryImage>? = null
Link copied to clipboard
@SerializedName(value = "hash")
val hash: String
Link copied to clipboard
@SerializedName(value = "interests")
val interests: List<Interest>? = null
Link copied to clipboard
@SerializedName(value = "job_title")
val jobTitle: String
Link copied to clipboard
@SerializedName(value = "last_profile_edit")
val lastProfileEdit: Instant? = null
Link copied to clipboard
@SerializedName(value = "links")
val links: List<Link>? = null
Link copied to clipboard
@SerializedName(value = "location")
val location: String
Link copied to clipboard
@SerializedName(value = "number_verified_accounts")
val numberVerifiedAccounts: Int? = null
Link copied to clipboard
@SerializedName(value = "payments")
val payments: ProfilePayments? = null
Link copied to clipboard
@SerializedName(value = "profile_url")
val profileUrl: URI
Link copied to clipboard
@SerializedName(value = "pronouns")
val pronouns: String
Link copied to clipboard
@SerializedName(value = "pronunciation")
val pronunciation: String
Link copied to clipboard
@SerializedName(value = "registration_date")
val registrationDate: Instant? = null
Link copied to clipboard
@SerializedName(value = "verified_accounts")
val verifiedAccounts: List<VerifiedAccount>

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