< Summary

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

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.ContentModerator\src\Generated\Models\IPA.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    /// IP Address details.
 14    /// </summary>
 15    public partial class IPA
 16    {
 17        /// <summary>
 18        /// Initializes a new instance of the IPA class.
 19        /// </summary>
 020        public IPA()
 21        {
 22            CustomInit();
 023        }
 24
 25        /// <summary>
 26        /// Initializes a new instance of the IPA class.
 27        /// </summary>
 28        /// <param name="subType">Subtype of the detected IP Address.</param>
 29        /// <param name="text">Detected IP Address.</param>
 30        /// <param name="index">Index(Location) of the IP Address in the input
 31        /// text content.</param>
 032        public IPA(string subType = default(string), string text = default(string), int? index = default(int?))
 33        {
 034            SubType = subType;
 035            Text = text;
 036            Index = index;
 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 subtype of the detected IP Address.
 47        /// </summary>
 48        [JsonProperty(PropertyName = "SubType")]
 049        public string SubType { get; set; }
 50
 51        /// <summary>
 52        /// Gets or sets detected IP Address.
 53        /// </summary>
 54        [JsonProperty(PropertyName = "Text")]
 055        public string Text { get; set; }
 56
 57        /// <summary>
 58        /// Gets or sets index(Location) of the IP Address in the input text
 59        /// content.
 60        /// </summary>
 61        [JsonProperty(PropertyName = "Index")]
 062        public int? Index { get; set; }
 63
 64    }
 65}