< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-0%100%
get_TrackingId()-0%100%
get_CacheID()-0%100%
get_IsMatch()-0%100%
get_Matches()-0%100%
get_Status()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.ContentModerator\src\Generated\Models\MatchResponse.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.Collections;
 11    using System.Collections.Generic;
 12    using System.Linq;
 13
 14    /// <summary>
 15    /// The response for a Match request.
 16    /// </summary>
 17    public partial class MatchResponse
 18    {
 19        /// <summary>
 20        /// Initializes a new instance of the MatchResponse class.
 21        /// </summary>
 022        public MatchResponse()
 23        {
 24            CustomInit();
 025        }
 26
 27        /// <summary>
 28        /// Initializes a new instance of the MatchResponse class.
 29        /// </summary>
 30        /// <param name="trackingId">The tracking id.</param>
 31        /// <param name="cacheID">The cache id.</param>
 32        /// <param name="isMatch">Indicates if there is a match.</param>
 33        /// <param name="matches">The match details.</param>
 34        /// <param name="status">The evaluate status</param>
 035        public MatchResponse(string trackingId = default(string), string cacheID = default(string), bool? isMatch = defa
 36        {
 037            TrackingId = trackingId;
 038            CacheID = cacheID;
 039            IsMatch = isMatch;
 040            Matches = matches;
 041            Status = status;
 42            CustomInit();
 043        }
 44
 45        /// <summary>
 46        /// An initialization method that performs custom operations like setting defaults
 47        /// </summary>
 48        partial void CustomInit();
 49
 50        /// <summary>
 51        /// Gets or sets the tracking id.
 52        /// </summary>
 53        [JsonProperty(PropertyName = "TrackingId")]
 054        public string TrackingId { get; set; }
 55
 56        /// <summary>
 57        /// Gets or sets the cache id.
 58        /// </summary>
 59        [JsonProperty(PropertyName = "CacheID")]
 060        public string CacheID { get; set; }
 61
 62        /// <summary>
 63        /// Gets or sets indicates if there is a match.
 64        /// </summary>
 65        [JsonProperty(PropertyName = "IsMatch")]
 066        public bool? IsMatch { get; set; }
 67
 68        /// <summary>
 69        /// Gets or sets the match details.
 70        /// </summary>
 71        [JsonProperty(PropertyName = "Matches")]
 072        public IList<Match> Matches { get; set; }
 73
 74        /// <summary>
 75        /// Gets or sets the evaluate status
 76        /// </summary>
 77        [JsonProperty(PropertyName = "Status")]
 078        public Status Status { get; set; }
 79
 80    }
 81}