// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.labservices.models;

import com.azure.core.annotation.Fluent;
import com.fasterxml.jackson.annotation.JsonProperty;

/** Body for a user invite request. */
@Fluent
public final class InviteBody {
    /*
     * Custom text for the invite email.
     */
    @JsonProperty(value = "text")
    private String text;

    /**
     * Get the text property: Custom text for the invite email.
     *
     * @return the text value.
     */
    public String text() {
        return this.text;
    }

    /**
     * Set the text property: Custom text for the invite email.
     *
     * @param text the text value to set.
     * @return the InviteBody object itself.
     */
    public InviteBody withText(String text) {
        this.text = text;
        return this;
    }

    /**
     * Validates the instance.
     *
     * @throws IllegalArgumentException thrown if the instance is not valid.
     */
    public void validate() {
    }
}
