Message

open class Message : PropertyOwner

Encapsulates a message intended to be read by the end user.

Constructors

Link copied to clipboard
constructor()

Properties

Link copied to clipboard
@SerializedName(value = "arguments")
@Expose
open var arguments: List<String>
An array of strings to substitute into the message string.
Link copied to clipboard
@SerializedName(value = "id")
@Expose
open var id: String
The identifier for this message.
Link copied to clipboard
@SerializedName(value = "markdown")
@Expose
open var markdown: String
A Markdown message string.
Link copied to clipboard
@SerializedName(value = "properties")
@Expose
open var properties: PropertyBag
Key/value pairs that provide additional information about the object.
Link copied to clipboard
@SerializedName(value = "text")
@Expose
open var text: String
A plain text message string.

Functions

Link copied to clipboard
open fun equals(other: Any): Boolean
Link copied to clipboard
abstract fun getProperties(): PropertyBag
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
abstract fun setProperties(<set-?>: PropertyBag)
Link copied to clipboard
open fun toString(): String
Link copied to clipboard
open fun updateProperties(mutator: (in PropertyBag) -> Unit)
Link copied to clipboard
open fun withArguments(arguments: List<String>): Message
Link copied to clipboard
open fun withId(id: String): Message
Link copied to clipboard
open fun withMarkdown(markdown: String): Message
Link copied to clipboard
open fun withProperties(properties: PropertyBag): Message
Link copied to clipboard
open fun withText(text: String): Message