< Summary

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

Metrics

MethodCyclomatic complexity Line coverage Branch coverage
.ctor()-0%100%
.ctor(...)-0%100%
get_Id()-0%100%
get_TeamName()-0%100%
get_Status()-0%100%
get_WorkflowId()-0%100%
get_Type()-0%100%
get_CallBackEndpoint()-0%100%
get_ReviewId()-0%100%
get_ResultMetaData()-0%100%
get_JobExecutionReport()-0%100%

File(s)

C:\Git\azure-sdk-for-net\sdk\cognitiveservices\Vision.ContentModerator\src\Generated\Models\Job.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 Job object.
 16    /// </summary>
 17    public partial class Job
 18    {
 19        /// <summary>
 20        /// Initializes a new instance of the Job class.
 21        /// </summary>
 022        public Job()
 23        {
 24            CustomInit();
 025        }
 26
 27        /// <summary>
 28        /// Initializes a new instance of the Job class.
 29        /// </summary>
 30        /// <param name="id">The job id.</param>
 31        /// <param name="teamName">The team name associated with the
 32        /// job.</param>
 33        /// <param name="status">The status string (&lt;Pending, Failed,
 34        /// Completed&gt;).</param>
 35        /// <param name="workflowId">The Id of the workflow.</param>
 36        /// <param name="type">Type of the content.</param>
 37        /// <param name="callBackEndpoint">The callback endpoint.</param>
 38        /// <param name="reviewId">Review Id if one is created.</param>
 39        /// <param name="resultMetaData">Array of KeyValue pairs.</param>
 40        /// <param name="jobExecutionReport">Job execution report- Array of
 41        /// KeyValue pairs object.</param>
 042        public Job(string id = default(string), string teamName = default(string), string status = default(string), stri
 43        {
 044            Id = id;
 045            TeamName = teamName;
 046            Status = status;
 047            WorkflowId = workflowId;
 048            Type = type;
 049            CallBackEndpoint = callBackEndpoint;
 050            ReviewId = reviewId;
 051            ResultMetaData = resultMetaData;
 052            JobExecutionReport = jobExecutionReport;
 53            CustomInit();
 054        }
 55
 56        /// <summary>
 57        /// An initialization method that performs custom operations like setting defaults
 58        /// </summary>
 59        partial void CustomInit();
 60
 61        /// <summary>
 62        /// Gets or sets the job id.
 63        /// </summary>
 64        [JsonProperty(PropertyName = "Id")]
 065        public string Id { get; set; }
 66
 67        /// <summary>
 68        /// Gets or sets the team name associated with the job.
 69        /// </summary>
 70        [JsonProperty(PropertyName = "TeamName")]
 071        public string TeamName { get; set; }
 72
 73        /// <summary>
 74        /// Gets or sets the status string (&amp;lt;Pending, Failed,
 75        /// Completed&amp;gt;).
 76        /// </summary>
 77        [JsonProperty(PropertyName = "Status")]
 078        public string Status { get; set; }
 79
 80        /// <summary>
 81        /// Gets or sets the Id of the workflow.
 82        /// </summary>
 83        [JsonProperty(PropertyName = "WorkflowId")]
 084        public string WorkflowId { get; set; }
 85
 86        /// <summary>
 87        /// Gets or sets type of the content.
 88        /// </summary>
 89        [JsonProperty(PropertyName = "Type")]
 090        public string Type { get; set; }
 91
 92        /// <summary>
 93        /// Gets or sets the callback endpoint.
 94        /// </summary>
 95        [JsonProperty(PropertyName = "CallBackEndpoint")]
 096        public string CallBackEndpoint { get; set; }
 97
 98        /// <summary>
 99        /// Gets or sets review Id if one is created.
 100        /// </summary>
 101        [JsonProperty(PropertyName = "ReviewId")]
 0102        public string ReviewId { get; set; }
 103
 104        /// <summary>
 105        /// Gets or sets array of KeyValue pairs.
 106        /// </summary>
 107        [JsonProperty(PropertyName = "ResultMetaData")]
 0108        public IList<KeyValuePair> ResultMetaData { get; set; }
 109
 110        /// <summary>
 111        /// Gets or sets job execution report- Array of KeyValue pairs object.
 112        /// </summary>
 113        [JsonProperty(PropertyName = "JobExecutionReport")]
 0114        public IList<JobExecutionReportDetails> JobExecutionReport { get; set; }
 115
 116    }
 117}