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

package com.azure.resourcemanager.databox.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.databox.fluent.models.RegionConfigurationResponseInner;

public final class RegionConfigurationResponseInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        RegionConfigurationResponseInner model =
            BinaryData
                .fromString(
                    "{\"scheduleAvailabilityResponse\":{\"availableDates\":[\"2021-08-23T15:54:41Z\"]},\"transportAvailabilityResponse\":{\"transportAvailabilityDetails\":[{\"shipmentType\":\"MicrosoftManaged\"},{\"shipmentType\":\"MicrosoftManaged\"},{\"shipmentType\":\"MicrosoftManaged\"},{\"shipmentType\":\"CustomerManaged\"}]},\"datacenterAddressResponse\":{\"datacenterAddressType\":\"DatacenterAddressResponse\",\"supportedCarriersForReturnShipment\":[\"pppcqeqxo\",\"z\"],\"dataCenterAzureLocation\":\"hzxct\"}}")
                .toObject(RegionConfigurationResponseInner.class);
    }

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