// Copyright (c) Microsoft Corporation. All rights reserved.
// Licensed under the MIT License.
// Code generated by Microsoft (R) AutoRest Code Generator.

package com.azure.resourcemanager.databoxedge.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.databoxedge.fluent.models.NetworkSettingsInner;

public final class NetworkSettingsInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        NetworkSettingsInner model =
            BinaryData
                .fromString(
                    "{\"properties\":{\"networkAdapters\":[{\"adapterId\":\"ur\",\"index\":1552581674,\"nodeId\":\"nspydptkoenkoukn\",\"networkAdapterName\":\"dwtiukbldngkp\",\"label\":\"ipazyxoegukgjnpi\",\"macAddress\":\"gygev\",\"linkSpeed\":7286292196519696494,\"status\":\"Inactive\",\"rdmaStatus\":\"Incapable\",\"dhcpStatus\":\"Disabled\",\"ipv6LinkLocalAddress\":\"drqjsdpy\",\"dnsServers\":[]},{\"adapterId\":\"yhxdeoejzicwi\",\"index\":1909902819,\"nodeId\":\"gzfbishcbk\",\"networkAdapterName\":\"jdeyeamdpha\",\"label\":\"lpbuxwgipwhonowk\",\"macAddress\":\"hwankixzbinjepu\",\"linkSpeed\":3801816570737266092,\"status\":\"Active\",\"rdmaStatus\":\"Incapable\",\"dhcpStatus\":\"Enabled\",\"ipv6LinkLocalAddress\":\"iyqzrnk\",\"dnsServers\":[]},{\"adapterId\":\"yx\",\"index\":1495315655,\"nodeId\":\"sicohoqqnwvlry\",\"networkAdapterName\":\"w\",\"label\":\"eun\",\"macAddress\":\"qhgyxzkonocukok\",\"linkSpeed\":8621613228572794905,\"status\":\"Active\",\"rdmaStatus\":\"Capable\",\"dhcpStatus\":\"Disabled\",\"ipv6LinkLocalAddress\":\"kbeype\",\"dnsServers\":[]},{\"adapterId\":\"jmwvvj\",\"index\":999201646,\"nodeId\":\"senhwlrs\",\"networkAdapterName\":\"rzpwvlqdqgbiq\",\"label\":\"ihkaetcktvfc\",\"macAddress\":\"fsnkymuctq\",\"linkSpeed\":1554730688618106722,\"status\":\"Inactive\",\"rdmaStatus\":\"Capable\",\"dhcpStatus\":\"Disabled\",\"ipv6LinkLocalAddress\":\"uwutttxfvjrbi\",\"dnsServers\":[]}]},\"id\":\"hxepcyvahfnlj\",\"name\":\"yq\",\"type\":\"j\"}")
                .toObject(NetworkSettingsInner.class);
    }

    @org.junit.jupiter.api.Test
    public void testSerialize() throws Exception {
        NetworkSettingsInner model = new NetworkSettingsInner();
        model = BinaryData.fromObject(model).toObject(NetworkSettingsInner.class);
    }
}
