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

package com.azure.resourcemanager.automation.implementation;

import com.azure.resourcemanager.automation.fluent.models.SoftwareUpdateConfigurationRunInner;
import com.azure.resourcemanager.automation.models.SoftwareUpdateConfigurationRun;
import com.azure.resourcemanager.automation.models.SoftwareUpdateConfigurationRunTasks;
import com.azure.resourcemanager.automation.models.UpdateConfigurationNavigation;
import java.time.OffsetDateTime;

public final class SoftwareUpdateConfigurationRunImpl implements SoftwareUpdateConfigurationRun {
    private SoftwareUpdateConfigurationRunInner innerObject;

    private final com.azure.resourcemanager.automation.AutomationManager serviceManager;

    SoftwareUpdateConfigurationRunImpl(
        SoftwareUpdateConfigurationRunInner innerObject,
        com.azure.resourcemanager.automation.AutomationManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

    public String name() {
        return this.innerModel().name();
    }

    public String id() {
        return this.innerModel().id();
    }

    public UpdateConfigurationNavigation softwareUpdateConfiguration() {
        return this.innerModel().softwareUpdateConfiguration();
    }

    public String status() {
        return this.innerModel().status();
    }

    public String configuredDuration() {
        return this.innerModel().configuredDuration();
    }

    public String osType() {
        return this.innerModel().osType();
    }

    public OffsetDateTime startTime() {
        return this.innerModel().startTime();
    }

    public OffsetDateTime endTime() {
        return this.innerModel().endTime();
    }

    public Integer computerCount() {
        return this.innerModel().computerCount();
    }

    public Integer failedCount() {
        return this.innerModel().failedCount();
    }

    public OffsetDateTime creationTime() {
        return this.innerModel().creationTime();
    }

    public String createdBy() {
        return this.innerModel().createdBy();
    }

    public OffsetDateTime lastModifiedTime() {
        return this.innerModel().lastModifiedTime();
    }

    public String lastModifiedBy() {
        return this.innerModel().lastModifiedBy();
    }

    public SoftwareUpdateConfigurationRunTasks tasks() {
        return this.innerModel().tasks();
    }

    public SoftwareUpdateConfigurationRunInner innerModel() {
        return this.innerObject;
    }

    private com.azure.resourcemanager.automation.AutomationManager manager() {
        return this.serviceManager;
    }
}
