
com.azure.resourcemanager.billing.implementation.InvoiceImpl Maven / Gradle / Ivy
// 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.core.management.SystemData;
import com.azure.resourcemanager.billing.fluent.models.InvoiceInner;
import com.azure.resourcemanager.billing.models.Invoice;
import com.azure.resourcemanager.billing.models.InvoiceProperties;
import java.util.Collections;
import java.util.Map;
public final class InvoiceImpl implements Invoice {
private InvoiceInner innerObject;
private final com.azure.resourcemanager.billing.BillingManager serviceManager;
InvoiceImpl(InvoiceInner innerObject, com.azure.resourcemanager.billing.BillingManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}
public String id() {
return this.innerModel().id();
}
public String name() {
return this.innerModel().name();
}
public String type() {
return this.innerModel().type();
}
public Map tags() {
Map inner = this.innerModel().tags();
if (inner != null) {
return Collections.unmodifiableMap(inner);
} else {
return Collections.emptyMap();
}
}
public SystemData systemData() {
return this.innerModel().systemData();
}
public InvoiceProperties properties() {
return this.innerModel().properties();
}
public InvoiceInner innerModel() {
return this.innerObject;
}
private com.azure.resourcemanager.billing.BillingManager manager() {
return this.serviceManager;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy