Specify a match to allow for inbound and outbound traffic using the BridgeOptions.

no subtypes hierarchy

Initializer
PermittedOptions(String? address = null, String? addressRegex = null, JsonObject? match = null, String? requiredAuthority = null)
Parameters:
  • address = null

    The exact address the message is being sent to. If you want to allow messages based on an exact address you use this field.

  • addressRegex = null

    A regular expression that will be matched against the address. If you want to allow messages based on a regular expression you use this field. If the setAddress value is specified this will be ignored.

  • match = null

    This allows you to allow messages based on their structure. Any fields in the match must exist in the message with the same values for them to be allowed. This currently only works with JSON messages.

  • requiredAuthority = null

    Declare a specific authority that user must have in order to allow messages

Attributes
addressshared String? address

The exact address the message is being sent to. If you want to allow messages based on an exact address you use this field.

addressRegexshared String? addressRegex

A regular expression that will be matched against the address. If you want to allow messages based on a regular expression you use this field. If the setAddress value is specified this will be ignored.

matchshared JsonObject? match

This allows you to allow messages based on their structure. Any fields in the match must exist in the message with the same values for them to be allowed. This currently only works with JSON messages.

requiredAuthorityshared String? requiredAuthority

Declare a specific authority that user must have in order to allow messages

Inherited Attributes
Attributes inherited from: Object
hash, string
Methods
toJsonshared actual default JsonObject toJson()
Refines BaseDataObject.toJson
Inherited Methods
Methods inherited from: Object
equals
Methods inherited from: BaseDataObject
toJson