Class InviteBody
- java.lang.Object
-
- com.azure.resourcemanager.labservices.models.InviteBody
-
public final class InviteBody extends Object
Body for a user invite request.
-
-
Constructor Summary
Constructors Constructor Description InviteBody()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description String
text()
Get the text property: Custom text for the invite email.void
validate()
Validates the instance.InviteBody
withText(String text)
Set the text property: Custom text for the invite email.
-
-
-
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.
-
-