
com.azure.resourcemanager.orbital.implementation.AvailableGroundStationsImpl 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.orbital.implementation;
import com.azure.core.http.rest.PagedIterable;
import com.azure.core.util.Context;
import com.azure.core.util.logging.ClientLogger;
import com.azure.resourcemanager.orbital.fluent.AvailableGroundStationsClient;
import com.azure.resourcemanager.orbital.fluent.models.AvailableGroundStationInner;
import com.azure.resourcemanager.orbital.models.AvailableGroundStation;
import com.azure.resourcemanager.orbital.models.AvailableGroundStations;
import com.azure.resourcemanager.orbital.models.CapabilityParameter;
public final class AvailableGroundStationsImpl implements AvailableGroundStations {
private static final ClientLogger LOGGER = new ClientLogger(AvailableGroundStationsImpl.class);
private final AvailableGroundStationsClient innerClient;
private final com.azure.resourcemanager.orbital.OrbitalManager serviceManager;
public AvailableGroundStationsImpl(AvailableGroundStationsClient innerClient,
com.azure.resourcemanager.orbital.OrbitalManager serviceManager) {
this.innerClient = innerClient;
this.serviceManager = serviceManager;
}
public PagedIterable list(CapabilityParameter capability) {
PagedIterable inner = this.serviceClient().list(capability);
return ResourceManagerUtils.mapPage(inner, inner1 -> new AvailableGroundStationImpl(inner1, this.manager()));
}
public PagedIterable list(CapabilityParameter capability, Context context) {
PagedIterable inner = this.serviceClient().list(capability, context);
return ResourceManagerUtils.mapPage(inner, inner1 -> new AvailableGroundStationImpl(inner1, this.manager()));
}
private AvailableGroundStationsClient serviceClient() {
return this.innerClient;
}
private com.azure.resourcemanager.orbital.OrbitalManager manager() {
return this.serviceManager;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy