// 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.SourceControlSyncJobStreamInner;
import com.azure.resourcemanager.automation.models.SourceControlSyncJobStream;
import com.azure.resourcemanager.automation.models.StreamType;
import java.time.OffsetDateTime;

public final class SourceControlSyncJobStreamImpl implements SourceControlSyncJobStream {
    private SourceControlSyncJobStreamInner innerObject;

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

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

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

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

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

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

    public StreamType streamType() {
        return this.innerModel().streamType();
    }

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

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