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

package com.azure.resourcemanager.videoanalyzer.fluent.models;

import com.azure.core.annotation.Fluent;
import com.azure.core.management.ProxyResource;
import com.fasterxml.jackson.annotation.JsonProperty;
import java.util.UUID;

/** The representation of an edge module. */
@Fluent
public final class EdgeModuleEntityInner extends ProxyResource {
    /*
     * The resource properties.
     */
    @JsonProperty(value = "properties")
    private EdgeModuleProperties innerProperties;

    /**
     * Get the innerProperties property: The resource properties.
     *
     * @return the innerProperties value.
     */
    private EdgeModuleProperties innerProperties() {
        return this.innerProperties;
    }

    /**
     * Get the edgeModuleId property: Internal ID generated for the instance of the Video Analyzer edge module.
     *
     * @return the edgeModuleId value.
     */
    public UUID edgeModuleId() {
        return this.innerProperties() == null ? null : this.innerProperties().edgeModuleId();
    }

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