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