BrokerResourceRuleResponse

data class BrokerResourceRuleResponse(val clientIds: List<String>? = null, val method: String, val topics: List<String>? = null)

Broker Resource Rule properties. This defines the objects that represent the actions or topics, such as - method.Connect, method.Publish, etc.

Constructors

Link copied to clipboard
constructor(clientIds: List<String>? = null, method: String, topics: List<String>? = null)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard
val clientIds: List<String>? = null

A list of client IDs that match the clients. The client IDs are case-sensitive and must match the client IDs provided by the clients during connection. This subfield may be set if the method is Connect.

Link copied to clipboard

Give access for a Broker method (i.e., Connect, Subscribe, or Publish).

Link copied to clipboard
val topics: List<String>? = null

A list of topics or topic patterns that match the topics that the clients can publish or subscribe to. This subfield is required if the method is Publish or Subscribe.