< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-100%100%
.ctor(...)-0%100%
get_JobIdProperty()-100%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.ContentModerator\src\Generated\Models\JobId.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    public partial class JobId
 13    {
 14        /// <summary>
 15        /// Initializes a new instance of the JobId class.
 16        /// </summary>
 617        public JobId()
 18        {
 19            CustomInit();
 620        }
 21
 22        /// <summary>
 23        /// Initializes a new instance of the JobId class.
 24        /// </summary>
 25        /// <param name="jobIdProperty">Id of the created job.</param>
 026        public JobId(string jobIdProperty = default(string))
 27        {
 028            JobIdProperty = jobIdProperty;
 29            CustomInit();
 030        }
 31
 32        /// <summary>
 33        /// An initialization method that performs custom operations like setting defaults
 34        /// </summary>
 35        partial void CustomInit();
 36
 37        /// <summary>
 38        /// Gets or sets id of the created job.
 39        /// </summary>
 40        [JsonProperty(PropertyName = "JobId")]
 241        public string JobIdProperty { get; set; }
 42
 43    }
 44}