com.azure.resourcemanager.apimanagement.implementation.ResourceCollectionImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-resourcemanager-apimanagement Show documentation
Show all versions of azure-resourcemanager-apimanagement Show documentation
This package contains Microsoft Azure SDK for ApiManagement Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt. ApiManagement Client. Package tag package-2022-08.
The newest version!
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.
package com.azure.resourcemanager.apimanagement.implementation;
import com.azure.resourcemanager.apimanagement.fluent.models.ResourceCollectionInner;
import com.azure.resourcemanager.apimanagement.models.ResourceCollection;
import com.azure.resourcemanager.apimanagement.models.ResourceCollectionValueItem;
import java.util.Collections;
import java.util.List;
public final class ResourceCollectionImpl implements ResourceCollection {
private ResourceCollectionInner innerObject;
private final com.azure.resourcemanager.apimanagement.ApiManagementManager serviceManager;
ResourceCollectionImpl(ResourceCollectionInner innerObject,
com.azure.resourcemanager.apimanagement.ApiManagementManager serviceManager) {
this.innerObject = innerObject;
this.serviceManager = serviceManager;
}
public List value() {
List inner = this.innerModel().value();
if (inner != null) {
return Collections.unmodifiableList(inner);
} else {
return Collections.emptyList();
}
}
public Long count() {
return this.innerModel().count();
}
public String nextLink() {
return this.innerModel().nextLink();
}
public ResourceCollectionInner innerModel() {
return this.innerObject;
}
private com.azure.resourcemanager.apimanagement.ApiManagementManager manager() {
return this.serviceManager;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy