// 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.models.DataBoxEdgeDeviceList;

public final class DataBoxEdgeDeviceListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        DataBoxEdgeDeviceList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"location\":\"jofxqe\",\"tags\":{\"jqul\":\"aeqjhqjbasvms\"},\"sku\":{\"name\":\"TEA_4Node_Heater\",\"tier\":\"Standard\"},\"etag\":\"ybkzgcwr\",\"properties\":{\"dataBoxEdgeDeviceStatus\":\"NeedsAttention\",\"serialNumber\":\"wrljdouskc\",\"description\":\"kocrcjdkwtnhx\",\"modelDescription\":\"jbiksqrglssai\",\"deviceType\":\"DataBoxEdgeDevice\",\"friendlyName\":\"wnzlljfmppeeb\",\"culture\":\"gxsabkyq\",\"deviceModel\":\"ujitcjcz\",\"deviceSoftwareVersion\":\"evndh\",\"deviceLocalCapacity\":4158765101468631420,\"timeZone\":\"appd\",\"deviceHcsVersion\":\"dkvwrwjfe\",\"configuredRoleTypes\":[],\"nodeCount\":1102727938},\"id\":\"utjeltmrldhugj\",\"name\":\"zdatqxhocdg\",\"type\":\"ablgphuticndvk\"},{\"location\":\"ozwyiftyhxhuro\",\"tags\":{\"cukjf\":\"yxolniwp\",\"lryplwckbasyy\":\"giawx\",\"jkot\":\"nddhsgcbacph\"},\"sku\":{\"name\":\"Edge\",\"tier\":\"Standard\"},\"etag\":\"zndlikwy\",\"properties\":{\"dataBoxEdgeDeviceStatus\":\"Disconnected\",\"serialNumber\":\"ibmadgakeqsrxy\",\"description\":\"qqedqytbciqfou\",\"modelDescription\":\"mmnkzsmodmgl\",\"deviceType\":\"DataBoxEdgeDevice\",\"friendlyName\":\"b\",\"culture\":\"tmut\",\"deviceModel\":\"qktapspwgcuert\",\"deviceSoftwareVersion\":\"kdosvqw\",\"deviceLocalCapacity\":1046762399333359388,\"timeZone\":\"bbjfddgmbmbexp\",\"deviceHcsVersion\":\"htqqrolfp\",\"configuredRoleTypes\":[],\"nodeCount\":1189352281},\"id\":\"lgbquxig\",\"name\":\"yjgzjaoyfhrtxiln\",\"type\":\"rkujy\"},{\"location\":\"vlejuvfqa\",\"tags\":{\"bnwbxgjvtbvpyssz\":\"yxwjkcp\",\"guhmuouqfpr\":\"nruj\",\"nguitnwuizgazxu\":\"zw\",\"dzuhtymwi\":\"izuckyfihrfidfvz\"},\"sku\":{\"name\":\"TEA_4Node_UPS_Heater\",\"tier\":\"Standard\"},\"etag\":\"xmnteiwaop\",\"properties\":{\"dataBoxEdgeDeviceStatus\":\"Maintenance\",\"serialNumber\":\"c\",\"description\":\"xdcu\",\"modelDescription\":\"fsrpymzidnse\",\"deviceType\":\"DataBoxEdgeDevice\",\"friendlyName\":\"bzsgfyccsne\",\"culture\":\"dwzjeiach\",\"deviceModel\":\"osfln\",\"deviceSoftwareVersion\":\"sfqpteehz\",\"deviceLocalCapacity\":3146188146427506829,\"timeZone\":\"qrimzinpv\",\"deviceHcsVersion\":\"jdkirsoodqx\",\"configuredRoleTypes\":[],\"nodeCount\":901066642},\"id\":\"nohjt\",\"name\":\"kwh\",\"type\":\"soifiyipjxsqw\"},{\"location\":\"gr\",\"tags\":{\"mocpc\":\"norcjxvsnbyxqab\",\"c\":\"shurzafbljjgpbto\"},\"sku\":{\"name\":\"TEA_1Node_Heater\",\"tier\":\"Standard\"},\"etag\":\"bqidtqaj\",\"properties\":{\"dataBoxEdgeDeviceStatus\":\"Online\",\"serialNumber\":\"kudjkrlkhb\",\"description\":\"fepgzgq\",\"modelDescription\":\"zloc\",\"deviceType\":\"DataBoxEdgeDevice\",\"friendlyName\":\"aierhhb\",\"culture\":\"glu\",\"deviceModel\":\"a\",\"deviceSoftwareVersion\":\"j\",\"deviceLocalCapacity\":3716992416544598775,\"timeZone\":\"bnbdxkqpxokajion\",\"deviceHcsVersion\":\"mexgstxgcp\",\"configuredRoleTypes\":[],\"nodeCount\":1465460192},\"id\":\"aajrm\",\"name\":\"djwzrlov\",\"type\":\"clwhijcoejctbz\"}],\"nextLink\":\"s\"}")
                .toObject(DataBoxEdgeDeviceList.class);
    }

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