< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_Enabled()-0%100%
get_Created()-100%100%
get_Updated()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\keyvault\Microsoft.Azure.KeyVault\src\Generated\Models\IssuerAttributes.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.Linq;
 17
 18    /// <summary>
 19    /// The attributes of an issuer managed by the Key Vault service.
 20    /// </summary>
 21    public partial class IssuerAttributes
 22    {
 23        /// <summary>
 24        /// Initializes a new instance of the IssuerAttributes class.
 25        /// </summary>
 1426        public IssuerAttributes()
 27        {
 28            CustomInit();
 1429        }
 30
 31        /// <summary>
 32        /// Initializes a new instance of the IssuerAttributes class.
 33        /// </summary>
 34        /// <param name="enabled">Determines whether the issuer is
 35        /// enabled.</param>
 36        /// <param name="created">Creation time in UTC.</param>
 37        /// <param name="updated">Last updated time in UTC.</param>
 038        public IssuerAttributes(bool? enabled = default(bool?), System.DateTime? created = default(System.DateTime?), Sy
 39        {
 040            Enabled = enabled;
 041            Created = created;
 042            Updated = updated;
 43            CustomInit();
 044        }
 45
 46        /// <summary>
 47        /// An initialization method that performs custom operations like setting defaults
 48        /// </summary>
 49        partial void CustomInit();
 50
 51        /// <summary>
 52        /// Gets or sets determines whether the issuer is enabled.
 53        /// </summary>
 54        [JsonProperty(PropertyName = "enabled")]
 055        public bool? Enabled { get; set; }
 56
 57        /// <summary>
 58        /// Gets creation time in UTC.
 59        /// </summary>
 60        [JsonConverter(typeof(UnixTimeJsonConverter))]
 61        [JsonProperty(PropertyName = "created")]
 2862        public System.DateTime? Created { get; private set; }
 63
 64        /// <summary>
 65        /// Gets last updated time in UTC.
 66        /// </summary>
 67        [JsonConverter(typeof(UnixTimeJsonConverter))]
 68        [JsonProperty(PropertyName = "updated")]
 2869        public System.DateTime? Updated { get; private set; }
 70
 71    }
 72}