< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-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\Address.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    /// Address details.
 14    /// </summary>
 15    public partial class Address
 16    {
 17        /// <summary>
 18        /// Initializes a new instance of the Address class.
 19        /// </summary>
 020        public Address()
 21        {
 22            CustomInit();
 023        }
 24
 25        /// <summary>
 26        /// Initializes a new instance of the Address class.
 27        /// </summary>
 28        /// <param name="text">Detected Address.</param>
 29        /// <param name="index">Index(Location) of the Address in the input
 30        /// text content.</param>
 031        public Address(string text = default(string), int? index = default(int?))
 32        {
 033            Text = text;
 034            Index = index;
 35            CustomInit();
 036        }
 37
 38        /// <summary>
 39        /// An initialization method that performs custom operations like setting defaults
 40        /// </summary>
 41        partial void CustomInit();
 42
 43        /// <summary>
 44        /// Gets or sets detected Address.
 45        /// </summary>
 46        [JsonProperty(PropertyName = "Text")]
 047        public string Text { get; set; }
 48
 49        /// <summary>
 50        /// Gets or sets index(Location) of the Address in the input text
 51        /// content.
 52        /// </summary>
 53        [JsonProperty(PropertyName = "Index")]
 054        public int? Index { get; set; }
 55
 56    }
 57}