Class PassControlBody


  • public class PassControlBody
    extends java.lang.Object
    PassControlBody
    • Field Detail

      • JSON_PROPERTY_SWITCHBOARD_INTEGRATION

        public static final java.lang.String JSON_PROPERTY_SWITCHBOARD_INTEGRATION
        See Also:
        Constant Field Values
      • JSON_PROPERTY_METADATA

        public static final java.lang.String JSON_PROPERTY_METADATA
        See Also:
        Constant Field Values
    • Constructor Detail

      • PassControlBody

        public PassControlBody()
    • Method Detail

      • switchboardIntegration

        public PassControlBody switchboardIntegration​(java.lang.String switchboardIntegration)
      • getSwitchboardIntegration

        public java.lang.String getSwitchboardIntegration()
        The id or the name of the switchboard integration that will become active. May also use the `next` keyword to transfer control to the next switchboard integration designated in the switchboard hierarchy configuration
        Returns:
        switchboardIntegration
      • setSwitchboardIntegration

        public void setSwitchboardIntegration​(java.lang.String switchboardIntegration)
      • metadata

        public PassControlBody metadata​(java.lang.Object metadata)
      • getMetadata

        @Nullable
        public java.lang.Object getMetadata()
        Flat object containing custom properties. Strings, numbers and booleans are the only supported format that can be passed to metadata. The metadata is limited to 4KB in size. The metadata object will be included in the `switchboard:passControl` webhook.
        Returns:
        metadata
      • setMetadata

        public void setMetadata​(java.lang.Object metadata)
      • equals

        public boolean equals​(java.lang.Object o)
        Overrides:
        equals in class java.lang.Object
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object