< Summary

Class:Microsoft.Azure.CognitiveServices.ContentModerator.Models.DetectedLanguage
Assembly:Microsoft.Azure.CognitiveServices.Vision.ContentModerator
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.ContentModerator\src\Generated\Models\DetectedLanguage.cs
Covered lines:0
Uncovered lines:10
Coverable lines:10
Total lines:64
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_DetectedLanguageProperty()-0%100%
get_Status()-0%100%
get_TrackingId()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.ContentModerator\src\Generated\Models\DetectedLanguage.cs

#LineLine coverage
 1// <auto-generated>
 2// Code generated by Microsoft (R) AutoRest Code Generator.
 3// Changes may cause incorrect behavior and will be lost if the code is
 4// regenerated.
 5// </auto-generated>
 6
 7namespace Microsoft.Azure.CognitiveServices.ContentModerator.Models
 8{
 9    using Newtonsoft.Json;
 10    using System.Linq;
 11
 12    /// <summary>
 13    /// Detect language result.
 14    /// </summary>
 15    public partial class DetectedLanguage
 16    {
 17        /// <summary>
 18        /// Initializes a new instance of the DetectedLanguage class.
 19        /// </summary>
 020        public DetectedLanguage()
 21        {
 22            CustomInit();
 023        }
 24
 25        /// <summary>
 26        /// Initializes a new instance of the DetectedLanguage class.
 27        /// </summary>
 28        /// <param name="detectedLanguageProperty">The detected
 29        /// language.</param>
 30        /// <param name="status">The detect language status</param>
 31        /// <param name="trackingId">The tracking id.</param>
 032        public DetectedLanguage(string detectedLanguageProperty = default(string), Status status = default(Status), stri
 33        {
 034            DetectedLanguageProperty = detectedLanguageProperty;
 035            Status = status;
 036            TrackingId = trackingId;
 37            CustomInit();
 038        }
 39
 40        /// <summary>
 41        /// An initialization method that performs custom operations like setting defaults
 42        /// </summary>
 43        partial void CustomInit();
 44
 45        /// <summary>
 46        /// Gets or sets the detected language.
 47        /// </summary>
 48        [JsonProperty(PropertyName = "DetectedLanguage")]
 049        public string DetectedLanguageProperty { get; set; }
 50
 51        /// <summary>
 52        /// Gets or sets the detect language status
 53        /// </summary>
 54        [JsonProperty(PropertyName = "Status")]
 055        public Status Status { get; set; }
 56
 57        /// <summary>
 58        /// Gets or sets the tracking id.
 59        /// </summary>
 60        [JsonProperty(PropertyName = "TrackingId")]
 061        public string TrackingId { get; set; }
 62
 63    }
 64}