Relation

@Serializable(with = RelationSerializer::class)
enum Relation : Enum<Relation>

사용자와 친구의 관계
Relationship between user and friend

Entries

Link copied to clipboard
@SerialName(value = "N/A")
NONE

카카오톡 친구 요청이 아니어서 알 수 없음
Unknown because it's not a KakaoTalk friend request

Link copied to clipboard
@SerialName(value = "friend")
FRIEND

친구
Friend

Link copied to clipboard
@SerialName(value = "no_friend")
NOT_FRIEND

친구 아님
Not friend

Link copied to clipboard

Functions

Link copied to clipboard
fun valueOf(value: String): Relation

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard
fun values(): Array<Relation>

Returns an array containing the constants of this enum type, in the order they're declared.

Properties

Link copied to clipboard
val name: String
Link copied to clipboard
val ordinal: Int