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

package com.azure.resourcemanager.networkcloud.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.networkcloud.fluent.models.MachineSkuProperties;

public final class MachineSkuPropertiesTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        MachineSkuProperties model =
            BinaryData
                .fromString(
                    "{\"bootstrapProtocol\":\"PXE\",\"cpuCores\":8984187394901716724,\"cpuSockets\":4113846236467073097,\"disks\":[{\"capacityGB\":6346225304233726107,\"connection\":\"RAID\",\"type\":\"HDD\"},{\"capacityGB\":7742645989535300431,\"connection\":\"RAID\",\"type\":\"HDD\"},{\"capacityGB\":3524202842191540912,\"connection\":\"RAID\",\"type\":\"HDD\"}],\"generation\":\"ejjoqkagfhsxtta\",\"hardwareVersion\":\"zxnfaaz\",\"memoryCapacityGB\":9034800237137536606,\"model\":\"kdmkqjjlwuenvrkp\",\"networkInterfaces\":[{\"address\":\"ibreb\",\"deviceConnectionType\":\"PCI\",\"model\":\"sj\",\"physicalSlot\":5714792311990746279,\"portCount\":7129303737344697098,\"portSpeed\":7654770966490658803,\"vendor\":\"lwfffi\"},{\"address\":\"pjpqqmtedltmmji\",\"deviceConnectionType\":\"PCI\",\"model\":\"zphv\",\"physicalSlot\":7562585136473490528,\"portCount\":4404884666059686122,\"portSpeed\":5952195822839118080,\"vendor\":\"kvi\"},{\"address\":\"dscwxqupevzhf\",\"deviceConnectionType\":\"PCI\",\"model\":\"xhojuj\",\"physicalSlot\":8044445982323182371,\"portCount\":1690476720955095356,\"portSpeed\":8636395279237294027,\"vendor\":\"xbjxyfwnylrcools\"},{\"address\":\"p\",\"deviceConnectionType\":\"PCI\",\"model\":\"kbnujr\",\"physicalSlot\":1845502074278166219,\"portCount\":897928383714570190,\"portSpeed\":4992192384689672126,\"vendor\":\"urdoi\"}],\"totalThreads\":7973708904011670408,\"vendor\":\"tywubxcbihwq\"}")
                .toObject(MachineSkuProperties.class);
    }

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