Share via


Job Constructors

Definition

Overloads

Job()

Initializes a new instance of the Job class.

Job(String, String, String, String, String, String, String, IList<KeyValuePair>, IList<JobExecutionReportDetails>)

Initializes a new instance of the Job class.

Job()

Initializes a new instance of the Job class.

public Job ();
Public Sub New ()

Applies to

Job(String, String, String, String, String, String, String, IList<KeyValuePair>, IList<JobExecutionReportDetails>)

Initializes a new instance of the Job class.

public Job (string id = default, string teamName = default, string status = default, string workflowId = default, string type = default, string callBackEndpoint = default, string reviewId = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.ContentModerator.Models.KeyValuePair> resultMetaData = default, System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.ContentModerator.Models.JobExecutionReportDetails> jobExecutionReport = default);
new Microsoft.Azure.CognitiveServices.ContentModerator.Models.Job : string * string * string * string * string * string * string * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.ContentModerator.Models.KeyValuePair> * System.Collections.Generic.IList<Microsoft.Azure.CognitiveServices.ContentModerator.Models.JobExecutionReportDetails> -> Microsoft.Azure.CognitiveServices.ContentModerator.Models.Job
Public Sub New (Optional id As String = Nothing, Optional teamName As String = Nothing, Optional status As String = Nothing, Optional workflowId As String = Nothing, Optional type As String = Nothing, Optional callBackEndpoint As String = Nothing, Optional reviewId As String = Nothing, Optional resultMetaData As IList(Of KeyValuePair) = Nothing, Optional jobExecutionReport As IList(Of JobExecutionReportDetails) = Nothing)

Parameters

id
String

The job id.

teamName
String

The team name associated with the job.

status
String

The status string (<Pending, Failed, Completed>).

workflowId
String

The Id of the workflow.

type
String

Type of the content.

callBackEndpoint
String

The callback endpoint.

reviewId
String

Review Id if one is created.

resultMetaData
IList<KeyValuePair>

Array of KeyValue pairs.

jobExecutionReport
IList<JobExecutionReportDetails>

Job execution report- Array of KeyValue pairs object.

Applies to