Body

data class Body(val goalCode: String? = null, val goal: String? = null, val accept: Array<String>? = null)(source)

The body of the connection acceptance message, which is the same as the body of the invitation message

Constructors

Link copied to clipboard
constructor(goalCode: String? = null, goal: String? = null, accept: Array<String>? = null)

Properties

Link copied to clipboard
val accept: Array<String>? = null

An array of strings representing the accepted message types

Link copied to clipboard
val goal: String? = null

The goal of the connection acceptance message

Link copied to clipboard
@SerialName(value = "goal_code")
val goalCode: String? = null

The goal code of the connection acceptance message.

Functions

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

Checks if the current object is equal to the specified object.

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

Generates a hash code for the object based on its properties.