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

package com.azure.resourcemanager.security.implementation;

import com.azure.resourcemanager.security.fluent.models.SoftwareInner;
import com.azure.resourcemanager.security.models.EndOfSupportStatus;
import com.azure.resourcemanager.security.models.Software;

public final class SoftwareImpl implements Software {
    private SoftwareInner innerObject;

    private final com.azure.resourcemanager.security.SecurityManager serviceManager;

    SoftwareImpl(SoftwareInner innerObject, com.azure.resourcemanager.security.SecurityManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

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

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

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

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

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

    public EndOfSupportStatus endOfSupportStatus() {
        return this.innerModel().endOfSupportStatus();
    }

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

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

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

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

    private com.azure.resourcemanager.security.SecurityManager manager() {
        return this.serviceManager;
    }
}
