Class: Ci::JobArtifactsDeletedEvent

Inherits:
Gitlab::EventStore::Event show all
Defined in:
app/events/ci/job_artifacts_deleted_event.rb

Instance Attribute Summary

Attributes inherited from Gitlab::EventStore::Event

#data

Instance Method Summary collapse

Methods inherited from Gitlab::EventStore::Event

#initialize

Constructor Details

This class inherits a constructor from Gitlab::EventStore::Event

Instance Method Details

#schemaObject


5
6
7
8
9
10
11
12
13
14
15
16
17
18
# File 'app/events/ci/job_artifacts_deleted_event.rb', line 5

def schema
  {
    'type' => 'object',
    'required' => ['job_ids'],
    'properties' => {
      'job_ids' => {
        'type' => 'array',
        'properties' => {
          'job_id' => { 'type' => 'integer' }
        }
      }
    }
  }
end