// 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.SkuInformationInner;

public final class SkuInformationInnerTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        SkuInformationInner model =
            BinaryData
                .fromString(
                    "{\"sku\":{\"name\":\"DataBox\",\"displayName\":\"kbeype\",\"family\":\"mjmwvvjektcx\"},\"enabled\":true,\"properties\":{\"dataLocationToServiceLocationMap\":[{\"dataLocation\":\"s\",\"serviceLocation\":\"rzpwvlqdqgbiq\"}],\"capacity\":{\"usable\":\"hkaetcktvfc\",\"maximum\":\"fsnkymuctq\"},\"costs\":[{\"meterId\":\"ebrjcxe\",\"meterType\":\"uwutttxfvjrbi\",\"multiplier\":78.79260273148051},{\"meterId\":\"pcyvahfnljkyqx\",\"meterType\":\"uujqgidokgjljyo\",\"multiplier\":65.1236532515971},{\"meterId\":\"tbgsncghkj\",\"meterType\":\"zz\",\"multiplier\":35.789364440261664}],\"apiVersions\":[\"xfvgxbfsmxne\",\"mpvecxgodebfqk\"],\"disabledReason\":\"Country\",\"disabledReasonMessage\":\"pukgriwflzlfb\",\"requiredFeature\":\"puz\",\"countriesWithinCommerceBoundary\":[\"spnqzahmgkb\",\"pyydhi\",\"nuqqkpikadrgvt\",\"agnb\"]}}")
                .toObject(SkuInformationInner.class);
    }

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