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

package com.azure.resourcemanager.storagemover.generated;

import com.azure.core.util.BinaryData;
import com.azure.resourcemanager.storagemover.models.JobRunList;

public final class JobRunListTests {
    @org.junit.jupiter.api.Test
    public void testDeserialize() throws Exception {
        JobRunList model =
            BinaryData
                .fromString(
                    "{\"value\":[{\"properties\":{\"status\":\"Queued\",\"scanStatus\":\"NotStarted\",\"agentName\":\"ounqecano\",\"agentResourceId\":\"upfh\",\"executionStartTime\":\"2021-02-13T21:17:53Z\",\"executionEndTime\":\"2021-06-23T07:18:27Z\",\"lastStatusUpdate\":\"2021-09-24T18:03:45Z\",\"itemsScanned\":9105223756290229379,\"itemsExcluded\":2512324147575417357,\"itemsUnsupported\":2395939551856044935,\"itemsNoTransferNeeded\":6897678654981048180,\"itemsFailed\":2263429425422948962,\"itemsTransferred\":440076473242537841,\"bytesScanned\":6209557393905029674,\"bytesExcluded\":9043828978211693656,\"bytesUnsupported\":6741941470044770515,\"bytesNoTransferNeeded\":8951191230507086291,\"bytesFailed\":3056221214593899993,\"bytesTransferred\":6964266625430053468,\"sourceName\":\"dagfuaxbezyiuok\",\"sourceResourceId\":\"whrdxwzywqsmbsu\",\"sourceProperties\":\"dataxim\",\"targetName\":\"yocf\",\"targetResourceId\":\"ksymd\",\"targetProperties\":\"datastkiiuxhqyud\",\"jobDefinitionProperties\":\"datarrqnbpoczvyifqrv\",\"provisioningState\":\"Succeeded\"},\"id\":\"llr\",\"name\":\"vvdfwatkpnpul\",\"type\":\"xxbczwtr\"}],\"nextLink\":\"iqzbq\"}")
                .toObject(JobRunList.class);
    }

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