< Summary

Class:Azure.ResourceManager.Resources.Models.ResourcesMoveInfo
Assembly:Azure.ResourceManager.Resources
File(s):C:\Git\azure-sdk-for-net\sdk\resources\Azure.ResourceManager.Resources\src\Generated\Models\ResourcesMoveInfo.cs
C:\Git\azure-sdk-for-net\sdk\resources\Azure.ResourceManager.Resources\src\Generated\Models\ResourcesMoveInfo.Serialization.cs
Covered lines:0
Uncovered lines:20
Coverable lines:20
Total lines:70
Line coverage:0% (0 of 20)
Covered branches:0
Total branches:6
Branch coverage:0% (0 of 6)

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-0%100%
get_Resources()-0%100%
get_TargetResourceGroup()-0%100%
Azure.Core.IUtf8JsonSerializable.Write(...)-0%0%

File(s)

C:\Git\azure-sdk-for-net\sdk\resources\Azure.ResourceManager.Resources\src\Generated\Models\ResourcesMoveInfo.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4// <auto-generated/>
 5
 6#nullable disable
 7
 8using System.Collections.Generic;
 9
 10namespace Azure.ResourceManager.Resources.Models
 11{
 12    /// <summary> Parameters of move resources. </summary>
 13    public partial class ResourcesMoveInfo
 14    {
 15        /// <summary> Initializes a new instance of ResourcesMoveInfo. </summary>
 016        public ResourcesMoveInfo()
 17        {
 018        }
 19
 20        /// <summary> Initializes a new instance of ResourcesMoveInfo. </summary>
 21        /// <param name="resources"> The IDs of the resources. </param>
 22        /// <param name="targetResourceGroup"> The target resource group. </param>
 023        internal ResourcesMoveInfo(IList<string> resources, string targetResourceGroup)
 24        {
 025            Resources = resources;
 026            TargetResourceGroup = targetResourceGroup;
 027        }
 28
 29        /// <summary> The IDs of the resources. </summary>
 030        public IList<string> Resources { get; set; }
 31        /// <summary> The target resource group. </summary>
 032        public string TargetResourceGroup { get; set; }
 33    }
 34}

C:\Git\azure-sdk-for-net\sdk\resources\Azure.ResourceManager.Resources\src\Generated\Models\ResourcesMoveInfo.Serialization.cs

#LineLine coverage
 1// Copyright (c) Microsoft Corporation. All rights reserved.
 2// Licensed under the MIT License.
 3
 4// <auto-generated/>
 5
 6#nullable disable
 7
 8using System.Text.Json;
 9using Azure.Core;
 10
 11namespace Azure.ResourceManager.Resources.Models
 12{
 13    public partial class ResourcesMoveInfo : IUtf8JsonSerializable
 14    {
 15        void IUtf8JsonSerializable.Write(Utf8JsonWriter writer)
 16        {
 017            writer.WriteStartObject();
 018            if (Resources != null)
 19            {
 020                writer.WritePropertyName("resources");
 021                writer.WriteStartArray();
 022                foreach (var item in Resources)
 23                {
 024                    writer.WriteStringValue(item);
 25                }
 026                writer.WriteEndArray();
 27            }
 028            if (TargetResourceGroup != null)
 29            {
 030                writer.WritePropertyName("targetResourceGroup");
 031                writer.WriteStringValue(TargetResourceGroup);
 32            }
 033            writer.WriteEndObject();
 034        }
 35    }
 36}