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

package com.azure.resourcemanager.billing.implementation;

import com.azure.resourcemanager.billing.fluent.models.DownloadUrlInner;
import com.azure.resourcemanager.billing.models.DownloadUrl;
import java.time.OffsetDateTime;

public final class DownloadUrlImpl implements DownloadUrl {
    private DownloadUrlInner innerObject;

    private final com.azure.resourcemanager.billing.BillingManager serviceManager;

    DownloadUrlImpl(DownloadUrlInner innerObject, com.azure.resourcemanager.billing.BillingManager serviceManager) {
        this.innerObject = innerObject;
        this.serviceManager = serviceManager;
    }

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

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

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

    private com.azure.resourcemanager.billing.BillingManager manager() {
        return this.serviceManager;
    }
}
