Button

@Serializable
data class Button(val id: ResourceId, val owner: ResourceReference, val metadata: ButtonMetadata, val state: ButtonState, val type: ResourceType = ResourceType.Button)

State and capabilities of a button resource.

Constructors

Link copied to clipboard
constructor(id: ResourceId, owner: ResourceReference, metadata: ButtonMetadata, state: ButtonState, type: ResourceType = ResourceType.Button)

Properties

Link copied to clipboard

Unique identifier representing a specific button resource instance.

Link copied to clipboard

Metadata describing this button resource.

Link copied to clipboard

Owner of the service.

Link copied to clipboard

Button state and configuration.

Link copied to clipboard

Type of the supported resources.