All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.azure.resourcemanager.network.implementation.ExpressRouteCircuitStatsImpl Maven / Gradle / Ivy

Go to download

This package contains Microsoft Azure Network Management SDK. For documentation on how to use this package, please see https://aka.ms/azsdk/java/mgmt

There is a newer version: 2.44.0
Show newest version
// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
package com.azure.resourcemanager.network.implementation;

import com.azure.resourcemanager.network.models.ExpressRouteCircuitStats;
import com.azure.resourcemanager.network.fluent.models.ExpressRouteCircuitStatsInner;
import com.azure.resourcemanager.resources.fluentcore.model.implementation.WrapperImpl;
import com.azure.resourcemanager.resources.fluentcore.utils.ResourceManagerUtils;

/** Implementation for {@link ExpressRouteCircuitStats}. */
public class ExpressRouteCircuitStatsImpl extends WrapperImpl
    implements ExpressRouteCircuitStats {
    ExpressRouteCircuitStatsImpl(ExpressRouteCircuitStatsInner innerObject) {
        super(innerObject);
    }

    @Override
    public long primaryBytesIn() {
        return ResourceManagerUtils.toPrimitiveLong(innerModel().primarybytesIn());
    }

    @Override
    public long primaryBytesOut() {
        return ResourceManagerUtils.toPrimitiveLong(innerModel().primarybytesOut());
    }

    @Override
    public long secondaryBytesIn() {
        return ResourceManagerUtils.toPrimitiveLong(innerModel().secondarybytesIn());
    }

    @Override
    public long secondaryBytesOut() {
        return ResourceManagerUtils.toPrimitiveLong(innerModel().secondarybytesOut());
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy