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

package com.azure.resourcemanager.securityinsights.implementation;

import com.azure.resourcemanager.securityinsights.fluent.models.TeamInformationInner;
import com.azure.resourcemanager.securityinsights.models.TeamInformation;
import java.time.OffsetDateTime;

public final class TeamInformationImpl implements TeamInformation {
    private TeamInformationInner innerObject;

    private final com.azure.resourcemanager.securityinsights.SecurityInsightsManager serviceManager;

    TeamInformationImpl(
        TeamInformationInner innerObject,
        com.azure.resourcemanager.securityinsights.SecurityInsightsManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

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

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

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

    private com.azure.resourcemanager.securityinsights.SecurityInsightsManager manager() {
        return this.serviceManager;
    }
}
