< Summary

Class:Microsoft.Azure.CognitiveServices.ContentModerator.Models.ClassificationCategory1
Assembly:Microsoft.Azure.CognitiveServices.Vision.ContentModerator
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.ContentModerator\src\Generated\Models\ClassificationCategory1.cs
Covered lines:0
Uncovered lines:6
Coverable lines:6
Total lines:49
Line coverage:0% (0 of 6)
Covered branches:0
Total branches:0

Metrics

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

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.ContentModerator\src\Generated\Models\ClassificationCategory1.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    /// The category1 score details of the text. &lt;a
 14    /// href="https://aka.ms/textClassifyCategories"&gt;Click here&lt;/a&gt;
 15    /// for more details on category classification.
 16    /// </summary>
 17    public partial class ClassificationCategory1
 18    {
 19        /// <summary>
 20        /// Initializes a new instance of the ClassificationCategory1 class.
 21        /// </summary>
 022        public ClassificationCategory1()
 23        {
 24            CustomInit();
 025        }
 26
 27        /// <summary>
 28        /// Initializes a new instance of the ClassificationCategory1 class.
 29        /// </summary>
 30        /// <param name="score">The category1 score.</param>
 031        public ClassificationCategory1(double? score = default(double?))
 32        {
 033            Score = score;
 34            CustomInit();
 035        }
 36
 37        /// <summary>
 38        /// An initialization method that performs custom operations like setting defaults
 39        /// </summary>
 40        partial void CustomInit();
 41
 42        /// <summary>
 43        /// Gets or sets the category1 score.
 44        /// </summary>
 45        [JsonProperty(PropertyName = "Score")]
 046        public double? Score { get; set; }
 47
 48    }
 49}

Methods/Properties

.ctor()
.ctor(...)
get_Score()