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

package com.azure.resourcemanager.mariadb.implementation;

import com.azure.resourcemanager.mariadb.fluent.models.RecommendedActionSessionsOperationStatusInner;
import com.azure.resourcemanager.mariadb.models.RecommendedActionSessionsOperationStatus;
import java.time.OffsetDateTime;

public final class RecommendedActionSessionsOperationStatusImpl implements RecommendedActionSessionsOperationStatus {
    private RecommendedActionSessionsOperationStatusInner innerObject;

    private final com.azure.resourcemanager.mariadb.MariaDBManager serviceManager;

    RecommendedActionSessionsOperationStatusImpl(
        RecommendedActionSessionsOperationStatusInner innerObject,
        com.azure.resourcemanager.mariadb.MariaDBManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

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

    private com.azure.resourcemanager.mariadb.MariaDBManager manager() {
        return this.serviceManager;
    }
}
