Profile.Builder


class Profile.Builder


Builder class for Profile.

Summary

Public constructors

Public functions

Profile!
Profile.Builder!

Returns the additional image associated with the profile. e.g. handle

Profile.Builder!

Returns the additional metadata associated with the profile. e.g. handle

Profile.Builder!

Returns the avatar associated with the profile.

Profile.Builder!

Returns the name associated with the profile.

Public constructors

Builder

Builder()

Public functions

build

fun build(): Profile!

setAdditionalImage

@CanIgnoreReturnValue
fun setAdditionalImage(additionalImage: Image!): Profile.Builder!

Returns the additional image associated with the profile. e.g. handle

Optional.

Avatar must be set if additionalImage is set.

setAdditionalText

@CanIgnoreReturnValue
fun setAdditionalText(additionalText: String!): Profile.Builder!

Returns the additional metadata associated with the profile. e.g. handle

Optional.

Name must be set if additionalText is set.

setAvatar

@CanIgnoreReturnValue
fun setAvatar(avatar: Image!): Profile.Builder!

Returns the avatar associated with the profile.

Required.

setName

@CanIgnoreReturnValue
fun setName(name: String!): Profile.Builder!

Returns the name associated with the profile.

Required.