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

package com.azure.resourcemanager.elastic.models;

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

/** Details of the user's elastic account. */
@Immutable
public final class ElasticCloudUser {
    /*
     * Email of the Elastic User Account.
     */
    @JsonProperty(value = "emailAddress", access = JsonProperty.Access.WRITE_ONLY)
    private String emailAddress;

    /*
     * User Id of the elastic account of the User.
     */
    @JsonProperty(value = "id", access = JsonProperty.Access.WRITE_ONLY)
    private String id;

    /*
     * Elastic cloud default dashboard sso URL of the Elastic user account.
     */
    @JsonProperty(value = "elasticCloudSsoDefaultUrl", access = JsonProperty.Access.WRITE_ONLY)
    private String elasticCloudSsoDefaultUrl;

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

    /**
     * Get the emailAddress property: Email of the Elastic User Account.
     *
     * @return the emailAddress value.
     */
    public String emailAddress() {
        return this.emailAddress;
    }

    /**
     * Get the id property: User Id of the elastic account of the User.
     *
     * @return the id value.
     */
    public String id() {
        return this.id;
    }

    /**
     * Get the elasticCloudSsoDefaultUrl property: Elastic cloud default dashboard sso URL of the Elastic user account.
     *
     * @return the elasticCloudSsoDefaultUrl value.
     */
    public String elasticCloudSsoDefaultUrl() {
        return this.elasticCloudSsoDefaultUrl;
    }

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