< Summary

Class:Microsoft.Azure.KeyVault.Models.DeletedStorageAccountItem
Assembly:Microsoft.Azure.KeyVault
File(s):C:\Git\azure-sdk-for-net\sdk\keyvault\Microsoft.Azure.KeyVault\src\Generated\Models\DeletedStorageAccountItem.cs
Covered lines:0
Uncovered lines:10
Coverable lines:10
Total lines:86
Line coverage:0% (0 of 10)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-0%100%
get_RecoveryId()-0%100%
get_ScheduledPurgeDate()-0%100%
get_DeletedDate()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\keyvault\Microsoft.Azure.KeyVault\src\Generated\Models\DeletedStorageAccountItem.cs

#LineLine coverage
 1// <auto-generated>
 2// Copyright (c) Microsoft Corporation. All rights reserved.
 3// Licensed under the MIT License. See License.txt in the project root for
 4// license information.
 5//
 6// Code generated by Microsoft (R) AutoRest Code Generator.
 7// Changes may cause incorrect behavior and will be lost if the code is
 8// regenerated.
 9// </auto-generated>
 10
 11namespace Microsoft.Azure.KeyVault.Models
 12{
 13    using Microsoft.Rest;
 14    using Microsoft.Rest.Serialization;
 15    using Newtonsoft.Json;
 16    using System.Collections;
 17    using System.Collections.Generic;
 18    using System.Linq;
 19
 20    /// <summary>
 21    /// The deleted storage account item containing metadata about the deleted
 22    /// storage account.
 23    /// </summary>
 24    public partial class DeletedStorageAccountItem : StorageAccountItem
 25    {
 26        /// <summary>
 27        /// Initializes a new instance of the DeletedStorageAccountItem class.
 28        /// </summary>
 029        public DeletedStorageAccountItem()
 30        {
 31            CustomInit();
 032        }
 33
 34        /// <summary>
 35        /// Initializes a new instance of the DeletedStorageAccountItem class.
 36        /// </summary>
 37        /// <param name="id">Storage identifier.</param>
 38        /// <param name="resourceId">Storage account resource Id.</param>
 39        /// <param name="attributes">The storage account management
 40        /// attributes.</param>
 41        /// <param name="tags">Application specific metadata in the form of
 42        /// key-value pairs.</param>
 43        /// <param name="recoveryId">The url of the recovery object, used to
 44        /// identify and recover the deleted storage account.</param>
 45        /// <param name="scheduledPurgeDate">The time when the storage account
 46        /// is scheduled to be purged, in UTC</param>
 47        /// <param name="deletedDate">The time when the storage account was
 48        /// deleted, in UTC</param>
 49        public DeletedStorageAccountItem(string id = default(string), string resourceId = default(string), StorageAccoun
 050            : base(id, resourceId, attributes, tags)
 51        {
 052            RecoveryId = recoveryId;
 053            ScheduledPurgeDate = scheduledPurgeDate;
 054            DeletedDate = deletedDate;
 55            CustomInit();
 056        }
 57
 58        /// <summary>
 59        /// An initialization method that performs custom operations like setting defaults
 60        /// </summary>
 61        partial void CustomInit();
 62
 63        /// <summary>
 64        /// Gets or sets the url of the recovery object, used to identify and
 65        /// recover the deleted storage account.
 66        /// </summary>
 67        [JsonProperty(PropertyName = "recoveryId")]
 068        public string RecoveryId { get; set; }
 69
 70        /// <summary>
 71        /// Gets the time when the storage account is scheduled to be purged,
 72        /// in UTC
 73        /// </summary>
 74        [JsonConverter(typeof(UnixTimeJsonConverter))]
 75        [JsonProperty(PropertyName = "scheduledPurgeDate")]
 076        public System.DateTime? ScheduledPurgeDate { get; private set; }
 77
 78        /// <summary>
 79        /// Gets the time when the storage account was deleted, in UTC
 80        /// </summary>
 81        [JsonConverter(typeof(UnixTimeJsonConverter))]
 82        [JsonProperty(PropertyName = "deletedDate")]
 083        public System.DateTime? DeletedDate { get; private set; }
 84
 85    }
 86}