Class: Azure::CognitiveServices::ContentModerator::V1_0::Models::Job
- Inherits:
-
Object
- Object
- Azure::CognitiveServices::ContentModerator::V1_0::Models::Job
- Includes:
- MsRestAzure
- Defined in:
- lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/job.rb
Overview
The Job object.
Instance Attribute Summary collapse
-
#call_back_endpoint ⇒ String
The callback endpoint.
-
#id ⇒ String
The job id.
-
#job_execution_report ⇒ Array<JobExecutionReportDetails>
of KeyValue pairs object.
-
#result_meta_data ⇒ Array<KeyValuePair>
Array of KeyValue pairs.
-
#review_id ⇒ String
Review Id if one is created.
-
#status ⇒ String
The status string (<Pending, Failed, Completed>).
-
#team_name ⇒ String
The team name associated with the job.
-
#type ⇒ String
Type of the content.
-
#workflow_id ⇒ String
The Id of the workflow.
Class Method Summary collapse
-
.mapper ⇒ Object
Mapper for Job class as Ruby Hash.
Instance Attribute Details
#call_back_endpoint ⇒ String
31 32 33 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/job.rb', line 31 def call_back_endpoint @call_back_endpoint end |
#id ⇒ String
16 17 18 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/job.rb', line 16 def id @id end |
#job_execution_report ⇒ Array<JobExecutionReportDetails>
of KeyValue pairs object.
41 42 43 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/job.rb', line 41 def job_execution_report @job_execution_report end |
#result_meta_data ⇒ Array<KeyValuePair>
37 38 39 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/job.rb', line 37 def end |
#review_id ⇒ String
34 35 36 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/job.rb', line 34 def review_id @review_id end |
#status ⇒ String
22 23 24 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/job.rb', line 22 def status @status end |
#team_name ⇒ String
19 20 21 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/job.rb', line 19 def team_name @team_name end |
#type ⇒ String
28 29 30 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/job.rb', line 28 def type @type end |
#workflow_id ⇒ String
25 26 27 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/job.rb', line 25 def workflow_id @workflow_id end |
Class Method Details
.mapper ⇒ Object
Mapper for Job class as Ruby Hash. This will be used for serialization/deserialization.
48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 |
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/job.rb', line 48 def self.mapper() { client_side_validation: true, required: false, serialized_name: 'Job', type: { name: 'Composite', class_name: 'Job', model_properties: { id: { client_side_validation: true, required: false, serialized_name: 'Id', type: { name: 'String' } }, team_name: { client_side_validation: true, required: false, serialized_name: 'TeamName', type: { name: 'String' } }, status: { client_side_validation: true, required: false, serialized_name: 'Status', type: { name: 'String' } }, workflow_id: { client_side_validation: true, required: false, serialized_name: 'WorkflowId', type: { name: 'String' } }, type: { client_side_validation: true, required: false, serialized_name: 'Type', type: { name: 'String' } }, call_back_endpoint: { client_side_validation: true, required: false, serialized_name: 'CallBackEndpoint', type: { name: 'String' } }, review_id: { client_side_validation: true, required: false, serialized_name: 'ReviewId', type: { name: 'String' } }, result_meta_data: { client_side_validation: true, required: false, serialized_name: 'ResultMetaData', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'KeyValuePairElementType', type: { name: 'Composite', class_name: 'KeyValuePair' } } } }, job_execution_report: { client_side_validation: true, required: false, serialized_name: 'JobExecutionReport', type: { name: 'Sequence', element: { client_side_validation: true, required: false, serialized_name: 'JobExecutionReportDetailsElementType', type: { name: 'Composite', class_name: 'JobExecutionReportDetails' } } } } } } } end |