// 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.fluent.models;

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

/** The properties of the response we got from elastic while creating external user. */
@Immutable
public final class ExternalUserCreationResponseInner {
    /*
     * Shows if user is created or updated
     */
    @JsonProperty(value = "created", access = JsonProperty.Access.WRITE_ONLY)
    private Boolean created;

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

    /**
     * Get the created property: Shows if user is created or updated.
     *
     * @return the created value.
     */
    public Boolean created() {
        return this.created;
    }

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