
com.azure.resourcemanager.billing.implementation.BillingPermissionImpl 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.resourcemanager.billing.fluent.models.BillingPermissionInner;
import com.azure.resourcemanager.billing.models.BillingPermission;
import java.util.Collections;
import java.util.List;
public final class BillingPermissionImpl implements BillingPermission {
private BillingPermissionInner innerObject;
private final com.azure.resourcemanager.billing.BillingManager serviceManager;
BillingPermissionImpl(BillingPermissionInner innerObject,
com.azure.resourcemanager.billing.BillingManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}
public List actions() {
List inner = this.innerModel().actions();
if (inner != null) {
return Collections.unmodifiableList(inner);
} else {
return Collections.emptyList();
}
}
public List notActions() {
List inner = this.innerModel().notActions();
if (inner != null) {
return Collections.unmodifiableList(inner);
} else {
return Collections.emptyList();
}
}
public BillingPermissionInner innerModel() {
return this.innerObject;
}
private com.azure.resourcemanager.billing.BillingManager manager() {
return this.serviceManager;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy