com.microsoft.azure.management.network.implementation.ExpressRouteCircuitStatsImpl Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of azure-mgmt-network Show documentation
Show all versions of azure-mgmt-network Show documentation
This package contains Microsoft Azure Network Management SDK. A new set of management libraries are now Generally Available. For documentation on how to use the new libraries, please see https://aka.ms/azsdk/java/mgmt
/**
* Copyright (c) Microsoft Corporation. All rights reserved.
* Licensed under the MIT License. See License.txt in the project root for
* license information.
*/
package com.microsoft.azure.management.network.implementation;
import com.microsoft.azure.management.apigeneration.LangDefinition;
import com.microsoft.azure.management.network.ExpressRouteCircuitStats;
import com.microsoft.azure.management.resources.fluentcore.model.implementation.WrapperImpl;
import com.microsoft.azure.management.resources.fluentcore.utils.Utils;
/**
* Implementation for {@link com.microsoft.azure.management.network.ExpressRouteCircuitStats}.
*/
@LangDefinition
public class ExpressRouteCircuitStatsImpl extends WrapperImpl
implements ExpressRouteCircuitStats {
ExpressRouteCircuitStatsImpl(ExpressRouteCircuitStatsInner innerObject) {
super(innerObject);
}
@Override
public long primaryBytesIn() {
return Utils.toPrimitiveLong(inner().primarybytesIn());
}
@Override
public long primaryBytesOut() {
return Utils.toPrimitiveLong(inner().primarybytesOut());
}
@Override
public long secondaryBytesIn() {
return Utils.toPrimitiveLong(inner().secondarybytesIn());
}
@Override
public long secondaryBytesOut() {
return Utils.toPrimitiveLong(inner().secondarybytesOut());
}
}