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

package com.azure.resourcemanager.devhub.implementation;

import com.azure.resourcemanager.devhub.fluent.models.GitHubOAuthInfoResponseInner;
import com.azure.resourcemanager.devhub.models.GitHubOAuthInfoResponse;

public final class GitHubOAuthInfoResponseImpl implements GitHubOAuthInfoResponse {
    private GitHubOAuthInfoResponseInner innerObject;

    private final com.azure.resourcemanager.devhub.DevHubManager serviceManager;

    GitHubOAuthInfoResponseImpl(
        GitHubOAuthInfoResponseInner innerObject, com.azure.resourcemanager.devhub.DevHubManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

    private com.azure.resourcemanager.devhub.DevHubManager manager() {
        return this.serviceManager;
    }
}
