Class: Azure::CognitiveServices::ContentModerator::V1_0::Models::JobId

Inherits:
Object
  • Object
show all
Includes:
MsRestAzure
Defined in:
lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/job_id.rb

Overview

Model object.

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#job_idString

Returns Id of the created job.

Returns:

  • (String)

    Id of the created job.



17
18
19
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/job_id.rb', line 17

def job_id
  @job_id
end

Class Method Details

.mapperObject

Mapper for JobId class as Ruby Hash. This will be used for serialization/deserialization.



24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
# File 'lib/1.0/generated/azure_cognitiveservices_contentmoderator/models/job_id.rb', line 24

def self.mapper()
  {
    client_side_validation: true,
    required: false,
    serialized_name: 'JobId',
    type: {
      name: 'Composite',
      class_name: 'JobId',
      model_properties: {
        job_id: {
          client_side_validation: true,
          required: false,
          serialized_name: 'JobId',
          type: {
            name: 'String'
          }
        }
      }
    }
  }
end