Class InviteBody


  • public final class InviteBody
    extends Object
    Body for a user invite request.
    • Constructor Detail

      • InviteBody

        public InviteBody()
    • Method Detail

      • text

        public String text()
        Get the text property: Custom text for the invite email.
        Returns:
        the text value.
      • withText

        public InviteBody withText​(String text)
        Set the text property: Custom text for the invite email.
        Parameters:
        text - the text value to set.
        Returns:
        the InviteBody object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.