Class: DatadogAPIClient::V2::CIAppPipelineEventStage

Inherits:
Object
  • Object
show all
Includes:
BaseGenericModel
Defined in:
lib/datadog_api_client/v2/models/ci_app_pipeline_event_stage.rb

Overview

Details of a CI stage.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#_end ⇒ Object

Time when the stage run finished. The time format must be RFC3339.



28
29
30
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_stage.rb', line 28

def _end
  @_end
end

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



73
74
75
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_stage.rb', line 73

def additional_properties
  @additional_properties
end

#dependencies ⇒ Object

A list of stage IDs that this stage depends on.



25
26
27
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_stage.rb', line 25

def dependencies
  @dependencies
end

#error ⇒ Object

Contains information of the CI error.



31
32
33
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_stage.rb', line 31

def error
  @error
end

#git ⇒ Object

If pipelines are triggered due to actions to a Git repository, then all payloads must contain this. Note that either tag or branch has to be provided, but not both.



35
36
37
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_stage.rb', line 35

def git
  @git
end

#id ⇒ Object

UUID for the stage. It has to be unique at least in the pipeline scope.



38
39
40
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_stage.rb', line 38

def id
  @id
end

#level ⇒ Object

Used to distinguish between pipelines, stages, jobs and steps.



41
42
43
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_stage.rb', line 41

def level
  @level
end

#metrics ⇒ Object

A list of user-defined metrics. The metrics must follow the key:value pattern and the value must be numeric.



44
45
46
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_stage.rb', line 44

def metrics
  @metrics
end

#name ⇒ Object

The name for the stage.



47
48
49
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_stage.rb', line 47

def name
  @name
end

#node ⇒ Object

Contains information of the host running the pipeline, stage, job, or step.



50
51
52
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_stage.rb', line 50

def node
  @node
end

#parameters ⇒ Object

A map of key-value parameters or environment variables that were defined for the pipeline.



53
54
55
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_stage.rb', line 53

def parameters
  @parameters
end

#pipeline_name ⇒ Object

The parent pipeline name.



56
57
58
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_stage.rb', line 56

def pipeline_name
  @pipeline_name
end

#pipeline_unique_id ⇒ Object

The parent pipeline UUID.



59
60
61
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_stage.rb', line 59

def pipeline_unique_id
  @pipeline_unique_id
end

#queue_time ⇒ Object

The queue time in milliseconds, if applicable.



62
63
64
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_stage.rb', line 62

def queue_time
  @queue_time
end

#start ⇒ Object

Time when the stage run started (it should not include any queue time). The time format must be RFC3339.



65
66
67
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_stage.rb', line 65

def start
  @start
end

#status ⇒ Object

The final status of the stage.



68
69
70
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_stage.rb', line 68

def status
  @status
end

#tags ⇒ Object

A list of user-defined tags. The tags must follow the key:value pattern.



71
72
73
# File 'lib/datadog_api_client/v2/models/ci_app_pipeline_event_stage.rb', line 71

def tags
  @tags
end