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

package com.azure.resourcemanager.appcomplianceautomation.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.appcomplianceautomation.fluent.models.DownloadResponseInner;
import org.junit.jupiter.api.Test;

public final class DownloadResponseInnerTests {
    @Test
    public void testDeserialize() {
        DownloadResponseInner model =
            BinaryData
                .fromString(
                    "{\"resourceList\":[{\"subscriptionId\":\"obpxjmflbvvn\",\"resourceGroup\":\"rkcciwwzjuqk\",\"resourceType\":\"sa\",\"resourceId\":\"wkuofoskghsauu\"},{\"subscriptionId\":\"jmvxie\",\"resourceGroup\":\"ugidyjrr\",\"resourceType\":\"y\",\"resourceId\":\"svexcsonpclhoco\"},{\"subscriptionId\":\"lkevle\",\"resourceGroup\":\"zfbuhf\",\"resourceType\":\"faxkffeii\",\"resourceId\":\"lvmezyvshxmzsbbz\"},{\"subscriptionId\":\"gigr\",\"resourceGroup\":\"burvjxxjnspy\",\"resourceType\":\"tko\",\"resourceId\":\"kouknvudwtiu\"}],\"complianceReport\":[{\"categoryName\":\"ngkpocipazy\",\"controlId\":\"egukgjnpiucg\",\"controlName\":\"evqzntypmrbp\",\"controlType\":\"FullyAutomated\",\"complianceState\":\"Healthy\",\"policyId\":\"j\",\"policyDisplayName\":\"pyd\",\"policyDescription\":\"yhxdeoejzicwi\",\"subscriptionId\":\"jttgzf\",\"resourceGroup\":\"shcbkhajdeyeamdp\",\"resourceType\":\"g\",\"resourceId\":\"pbuxwgipwhon\",\"statusChangeDate\":\"kgshwa\"},{\"categoryName\":\"ixzbinjeputtmryw\",\"controlId\":\"zoqftiyqzrnkcqvy\",\"controlName\":\"whzlsicohoq\",\"controlType\":\"Manual\",\"complianceState\":\"Healthy\",\"policyId\":\"yav\",\"policyDisplayName\":\"heun\",\"policyDescription\":\"qhgyxzkonocukok\",\"subscriptionId\":\"axuconuq\",\"resourceGroup\":\"fkbey\",\"resourceType\":\"wrmjmwvvjektc\",\"resourceId\":\"enhwlrs\",\"statusChangeDate\":\"rzpwvlqdqgbiq\"},{\"categoryName\":\"ihkaetcktvfc\",\"controlId\":\"fsnkymuctq\",\"controlName\":\"fbebrjcxer\",\"controlType\":\"PartiallyAutomated\",\"complianceState\":\"Unhealthy\",\"policyId\":\"txfvjrbirph\",\"policyDisplayName\":\"pcyvahfnljkyqx\",\"policyDescription\":\"uujqgidokgjljyo\",\"subscriptionId\":\"vcltbgsncgh\",\"resourceGroup\":\"esz\",\"resourceType\":\"bijhtxfvgxbf\",\"resourceId\":\"xnehmpvec\",\"statusChangeDate\":\"odebfqkkrbmpu\"}],\"compliancePdfReport\":{\"sasUri\":\"iw\"},\"complianceDetailedPdfReport\":{\"sasUri\":\"lfbxzpuzycisp\"}}")
                .toObject(DownloadResponseInner.class);
    }

    @Test
    public void testSerialize() {
        DownloadResponseInner model = new DownloadResponseInner();
        model = BinaryData.fromObject(model).toObject(DownloadResponseInner.class);
    }
}
