Class ChaosTriggers

java.lang.Object
software.xdev.mailpit.model.ChaosTriggers

public class ChaosTriggers extends Object
Triggers for the Chaos configuration
  • Field Details

  • Constructor Details

    • ChaosTriggers

      public ChaosTriggers()
  • Method Details

    • authentication

      public ChaosTriggers authentication(@Nullable ChaosTrigger authentication)
    • getAuthentication

      @Nullable public ChaosTrigger getAuthentication()
      Get authentication
      Returns:
      authentication
    • setAuthentication

      public void setAuthentication(@Nullable ChaosTrigger authentication)
    • recipient

      public ChaosTriggers recipient(@Nullable ChaosTrigger recipient)
    • getRecipient

      @Nullable public ChaosTrigger getRecipient()
      Get recipient
      Returns:
      recipient
    • setRecipient

      public void setRecipient(@Nullable ChaosTrigger recipient)
    • sender

      public ChaosTriggers sender(@Nullable ChaosTrigger sender)
    • getSender

      @Nullable public ChaosTrigger getSender()
      Get sender
      Returns:
      sender
    • setSender

      public void setSender(@Nullable ChaosTrigger sender)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

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

      public String toString()
      Overrides:
      toString in class Object
    • toUrlQueryString

      public String toUrlQueryString()
      Convert the instance into URL query string.
      Returns:
      URL query string
    • toUrlQueryString

      public String toUrlQueryString(String prefix)
      Convert the instance into URL query string.
      Parameters:
      prefix - prefix of the query string
      Returns:
      URL query string