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

package com.azure.resourcemanager.avs.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.avs.models.WorkloadNetworkPublicIPsList;

public final class WorkloadNetworkPublicIPsListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        WorkloadNetworkPublicIPsList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"displayName\":\"pxodlqiyntorzih\",\"numberOfPublicIPs\":7214726266840032976,\"publicIPBlock\":\"swsrms\",\"provisioningState\":\"Succeeded\"},\"id\":\"rpzbchckqqzqi\",\"name\":\"xiy\",\"type\":\"uiizynke\"},{\"properties\":{\"displayName\":\"trwyhqmib\",\"numberOfPublicIPs\":3831030822063036154,\"publicIPBlock\":\"tsmypyynpcdp\",\"provisioningState\":\"Succeeded\"},\"id\":\"zgmwznmabikns\",\"name\":\"rgjhxb\",\"type\":\"dtlwwrlkd\"},{\"properties\":{\"displayName\":\"cvokotllxdyhg\",\"numberOfPublicIPs\":4987957604610375925,\"publicIPBlock\":\"gjltdtbnnhado\",\"provisioningState\":\"Building\"},\"id\":\"kvci\",\"name\":\"hnvpamqgxq\",\"type\":\"u\"},{\"properties\":{\"displayName\":\"kywggxkallatmel\",\"numberOfPublicIPs\":4889606083827449989,\"publicIPBlock\":\"ccjzkzivgvv\",\"provisioningState\":\"Failed\"},\"id\":\"y\",\"name\":\"hyrnxxmu\",\"type\":\"edndr\"}],\"nextLink\":\"stkwqqtch\"}")
                .toObject(WorkloadNetworkPublicIPsList.class);
    }

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