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

package com.azure.resourcemanager.databoxedge.models;

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

/** Progress details during installation of updates. */
@Immutable
public final class UpdateInstallProgress {
    /*
     * Percentage completed.
     */
    @JsonProperty(value = "percentComplete", access = JsonProperty.Access.WRITE_ONLY)
    private Integer percentComplete;

    /*
     * Number of updates to install.
     */
    @JsonProperty(value = "numberOfUpdatesToInstall", access = JsonProperty.Access.WRITE_ONLY)
    private Integer numberOfUpdatesToInstall;

    /*
     * Number of updates installed.
     */
    @JsonProperty(value = "numberOfUpdatesInstalled", access = JsonProperty.Access.WRITE_ONLY)
    private Integer numberOfUpdatesInstalled;

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

    /**
     * Get the percentComplete property: Percentage completed.
     *
     * @return the percentComplete value.
     */
    public Integer percentComplete() {
        return this.percentComplete;
    }

    /**
     * Get the numberOfUpdatesToInstall property: Number of updates to install.
     *
     * @return the numberOfUpdatesToInstall value.
     */
    public Integer numberOfUpdatesToInstall() {
        return this.numberOfUpdatesToInstall;
    }

    /**
     * Get the numberOfUpdatesInstalled property: Number of updates installed.
     *
     * @return the numberOfUpdatesInstalled value.
     */
    public Integer numberOfUpdatesInstalled() {
        return this.numberOfUpdatesInstalled;
    }

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