UserProfile

data class UserProfile(val hash: String, val requestHash: String? = null, val profileUrl: String? = null, val preferredUsername: String? = null, val thumbnailUrl: String? = null, val lastProfileEdit: String? = null, val name: Name? = null, val displayName: String? = null, val pronouns: String? = null, val aboutMe: String? = null, val currentLocation: String? = null, val jobTitle: String? = null, val company: String? = null, val pronunciation: String? = null, val shareFlags: ShareFlags? = null, val emails: List<Email>? = null, val accounts: List<Account>? = null)

Parameters

hash

The email's hash of the profile.

requestHash
profileUrl
preferredUsername
thumbnailUrl
lastProfileEdit
name
displayName
pronouns
aboutMe
currentLocation
jobTitle
company
pronunciation
shareFlags
emails
accounts

Constructors

Link copied to clipboard
constructor(hash: String, requestHash: String? = null, profileUrl: String? = null, preferredUsername: String? = null, thumbnailUrl: String? = null, lastProfileEdit: String? = null, name: Name? = null, displayName: String? = null, pronouns: String? = null, aboutMe: String? = null, currentLocation: String? = null, jobTitle: String? = null, company: String? = null, pronunciation: String? = null, shareFlags: ShareFlags? = null, emails: List<Email>? = null, accounts: List<Account>? = null)

Properties

Link copied to clipboard
@SerializedName(value = "aboutMe")
val aboutMe: String? = null
Link copied to clipboard
@SerializedName(value = "accounts")
val accounts: List<Account>? = null
Link copied to clipboard
@SerializedName(value = "company")
val company: String? = null
Link copied to clipboard
@SerializedName(value = "currentLocation")
val currentLocation: String? = null
Link copied to clipboard
@SerializedName(value = "displayName")
val displayName: String? = null
Link copied to clipboard
@SerializedName(value = "emails")
val emails: List<Email>? = null
Link copied to clipboard
@SerializedName(value = "hash")
val hash: String
Link copied to clipboard
@SerializedName(value = "job_title")
val jobTitle: String? = null
Link copied to clipboard
@SerializedName(value = "last_profile_edit")
val lastProfileEdit: String? = null
Link copied to clipboard
@SerializedName(value = "name")
val name: Name? = null
Link copied to clipboard
@SerializedName(value = "preferredUsername")
val preferredUsername: String? = null
Link copied to clipboard
@SerializedName(value = "profileUrl")
val profileUrl: String? = null
Link copied to clipboard
@SerializedName(value = "pronouns")
val pronouns: String? = null
Link copied to clipboard
@SerializedName(value = "pronunciation")
val pronunciation: String? = null
Link copied to clipboard
@SerializedName(value = "requestHash")
val requestHash: String? = null
Link copied to clipboard
@SerializedName(value = "share_flags")
val shareFlags: ShareFlags? = null
Link copied to clipboard
@SerializedName(value = "thumbnailUrl")
val thumbnailUrl: String? = null

Functions

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

Get the avatar URL for a user profile.

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

Get the profile URL for a user profile.