< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-0%100%
get_Id()-0%100%
get_Name()-0%100%
get_Description()-0%100%
get_Metadata()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.ContentModerator\src\Generated\Models\ImageList.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    /// Image List Properties.
 16    /// </summary>
 17    public partial class ImageList
 18    {
 19        /// <summary>
 20        /// Initializes a new instance of the ImageList class.
 21        /// </summary>
 022        public ImageList()
 23        {
 24            CustomInit();
 025        }
 26
 27        /// <summary>
 28        /// Initializes a new instance of the ImageList class.
 29        /// </summary>
 30        /// <param name="id">Image List Id.</param>
 31        /// <param name="name">Image List Name.</param>
 32        /// <param name="description">Description for image list.</param>
 33        /// <param name="metadata">Image List Metadata.</param>
 034        public ImageList(int? id = default(int?), string name = default(string), string description = default(string), I
 35        {
 036            Id = id;
 037            Name = name;
 038            Description = description;
 039            Metadata = metadata;
 40            CustomInit();
 041        }
 42
 43        /// <summary>
 44        /// An initialization method that performs custom operations like setting defaults
 45        /// </summary>
 46        partial void CustomInit();
 47
 48        /// <summary>
 49        /// Gets or sets image List Id.
 50        /// </summary>
 51        [JsonProperty(PropertyName = "Id")]
 052        public int? Id { get; set; }
 53
 54        /// <summary>
 55        /// Gets or sets image List Name.
 56        /// </summary>
 57        [JsonProperty(PropertyName = "Name")]
 058        public string Name { get; set; }
 59
 60        /// <summary>
 61        /// Gets or sets description for image list.
 62        /// </summary>
 63        [JsonProperty(PropertyName = "Description")]
 064        public string Description { get; set; }
 65
 66        /// <summary>
 67        /// Gets or sets image List Metadata.
 68        /// </summary>
 69        [JsonProperty(PropertyName = "Metadata")]
 070        public IDictionary<string, string> Metadata { get; set; }
 71
 72    }
 73}