// 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.core.management.exception.ManagementError;
import com.azure.resourcemanager.automation.fluent.models.SoftwareUpdateConfigurationMachineRunInner;
import com.azure.resourcemanager.automation.models.JobNavigation;
import com.azure.resourcemanager.automation.models.SoftwareUpdateConfigurationMachineRun;
import com.azure.resourcemanager.automation.models.UpdateConfigurationNavigation;
import java.time.OffsetDateTime;
import java.util.UUID;

public final class SoftwareUpdateConfigurationMachineRunImpl implements SoftwareUpdateConfigurationMachineRun {
    private SoftwareUpdateConfigurationMachineRunInner innerObject;

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

    SoftwareUpdateConfigurationMachineRunImpl(
        SoftwareUpdateConfigurationMachineRunInner 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 String targetComputer() {
        return this.innerModel().targetComputer();
    }

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

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

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

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

    public UUID correlationId() {
        return this.innerModel().correlationId();
    }

    public UUID sourceComputerId() {
        return this.innerModel().sourceComputerId();
    }

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

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

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

    public JobNavigation job() {
        return this.innerModel().job();
    }

    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 ManagementError error() {
        return this.innerModel().error();
    }

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

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