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

package com.azure.resourcemanager.billing.models;

import com.azure.core.annotation.Immutable;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.time.OffsetDateTime;

/** The details about a participant. */
@Immutable
public final class Participants {
    /*
     * The acceptance status of the participant.
     */
    @JsonProperty(value = "status", access = JsonProperty.Access.WRITE_ONLY)
    private String status;

    /*
     * The date when the status got changed.
     */
    @JsonProperty(value = "statusDate", access = JsonProperty.Access.WRITE_ONLY)
    private OffsetDateTime statusDate;

    /*
     * The email address of the participant.
     */
    @JsonProperty(value = "email", access = JsonProperty.Access.WRITE_ONLY)
    private String email;

    /** Creates an instance of Participants class. */
    public Participants() {
    }

    /**
     * Get the status property: The acceptance status of the participant.
     *
     * @return the status value.
     */
    public String status() {
        return this.status;
    }

    /**
     * Get the statusDate property: The date when the status got changed.
     *
     * @return the statusDate value.
     */
    public OffsetDateTime statusDate() {
        return this.statusDate;
    }

    /**
     * Get the email property: The email address of the participant.
     *
     * @return the email value.
     */
    public String email() {
        return this.email;
    }

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