< Summary

Class:Microsoft.Azure.CognitiveServices.Personalizer.Models.ModelProperties
Assembly:Microsoft.Azure.CognitiveServices.Personalizer
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Personalizer\src\Generated\Models\ModelProperties.cs
Covered lines:4
Uncovered lines:4
Coverable lines:8
Total lines:52
Line coverage:50% (4 of 8)
Covered branches:0
Total branches:0

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_CreationTime()-100%100%
get_LastModifiedTime()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Personalizer\src\Generated\Models\ModelProperties.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.CognitiveServices.Personalizer.Models
 12{
 13    using Newtonsoft.Json;
 14    using System.Linq;
 15
 16    public partial class ModelProperties
 17    {
 18        /// <summary>
 19        /// Initializes a new instance of the ModelProperties class.
 20        /// </summary>
 221        public ModelProperties()
 22        {
 23            CustomInit();
 224        }
 25
 26        /// <summary>
 27        /// Initializes a new instance of the ModelProperties class.
 28        /// </summary>
 029        public ModelProperties(System.DateTime? creationTime = default(System.DateTime?), System.DateTime? lastModifiedT
 30        {
 031            CreationTime = creationTime;
 032            LastModifiedTime = lastModifiedTime;
 33            CustomInit();
 034        }
 35
 36        /// <summary>
 37        /// An initialization method that performs custom operations like setting defaults
 38        /// </summary>
 39        partial void CustomInit();
 40
 41        /// <summary>
 42        /// </summary>
 43        [JsonProperty(PropertyName = "creationTime")]
 444        public System.DateTime? CreationTime { get; private set; }
 45
 46        /// <summary>
 47        /// </summary>
 48        [JsonProperty(PropertyName = "lastModifiedTime")]
 449        public System.DateTime? LastModifiedTime { get; private set; }
 50
 51    }
 52}