< Summary

Class:Microsoft.Azure.CognitiveServices.ContentModerator.Models.RefreshIndex
Assembly:Microsoft.Azure.CognitiveServices.Vision.ContentModerator
File(s):C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.ContentModerator\src\Generated\Models\RefreshIndex.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_ContentSourceId()-0%100%
get_IsUpdateSuccess()-0%100%
get_AdvancedInfo()-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\RefreshIndex.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    /// Refresh Index Response.
 16    /// </summary>
 17    public partial class RefreshIndex
 18    {
 19        /// <summary>
 20        /// Initializes a new instance of the RefreshIndex class.
 21        /// </summary>
 022        public RefreshIndex()
 23        {
 24            CustomInit();
 025        }
 26
 27        /// <summary>
 28        /// Initializes a new instance of the RefreshIndex class.
 29        /// </summary>
 30        /// <param name="contentSourceId">Content source Id.</param>
 31        /// <param name="isUpdateSuccess">Update success status.</param>
 32        /// <param name="advancedInfo">Advanced info list.</param>
 33        /// <param name="status">Refresh index status.</param>
 34        /// <param name="trackingId">Tracking Id.</param>
 035        public RefreshIndex(string contentSourceId = default(string), bool? isUpdateSuccess = default(bool?), IList<IDic
 36        {
 037            ContentSourceId = contentSourceId;
 038            IsUpdateSuccess = isUpdateSuccess;
 039            AdvancedInfo = advancedInfo;
 040            Status = status;
 041            TrackingId = trackingId;
 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 content source Id.
 52        /// </summary>
 53        [JsonProperty(PropertyName = "ContentSourceId")]
 054        public string ContentSourceId { get; set; }
 55
 56        /// <summary>
 57        /// Gets or sets update success status.
 58        /// </summary>
 59        [JsonProperty(PropertyName = "IsUpdateSuccess")]
 060        public bool? IsUpdateSuccess { get; set; }
 61
 62        /// <summary>
 63        /// Gets or sets advanced info list.
 64        /// </summary>
 65        [JsonProperty(PropertyName = "AdvancedInfo")]
 066        public IList<IDictionary<string, string>> AdvancedInfo { get; set; }
 67
 68        /// <summary>
 69        /// Gets or sets refresh index status.
 70        /// </summary>
 71        [JsonProperty(PropertyName = "Status")]
 072        public Status Status { get; set; }
 73
 74        /// <summary>
 75        /// Gets or sets tracking Id.
 76        /// </summary>
 77        [JsonProperty(PropertyName = "TrackingId")]
 078        public string TrackingId { get; set; }
 79
 80    }
 81}