Class: DatadogAPIClient::V2::CIAppGitInfo
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::CIAppGitInfo
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/ci_app_git_info.rb
Overview
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.
Instance Attribute Summary collapse
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#author_email ⇒ Object
readonly
The commit author email.
-
#author_name ⇒ Object
The commit author name.
-
#author_time ⇒ Object
The commit author timestamp in RFC3339 format.
-
#branch ⇒ Object
The branch name (if a tag use the tag parameter).
-
#commit_time ⇒ Object
The commit timestamp in RFC3339 format.
-
#committer_email ⇒ Object
The committer email.
-
#committer_name ⇒ Object
The committer name.
-
#default_branch ⇒ Object
The Git repository’s default branch.
-
#message ⇒ Object
The commit message.
-
#repository_url ⇒ Object
readonly
The URL of the repository.
-
#sha ⇒ Object
readonly
The git commit SHA.
-
#tag ⇒ Object
The tag name (if a branch use the branch parameter).
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
61 62 63 |
# File 'lib/datadog_api_client/v2/models/ci_app_git_info.rb', line 61 def additional_properties @additional_properties end |
#author_email ⇒ Object
The commit author email.
26 27 28 |
# File 'lib/datadog_api_client/v2/models/ci_app_git_info.rb', line 26 def @author_email end |
#author_name ⇒ Object
The commit author name.
29 30 31 |
# File 'lib/datadog_api_client/v2/models/ci_app_git_info.rb', line 29 def @author_name end |
#author_time ⇒ Object
The commit author timestamp in RFC3339 format.
32 33 34 |
# File 'lib/datadog_api_client/v2/models/ci_app_git_info.rb', line 32 def @author_time end |
#branch ⇒ Object
The branch name (if a tag use the tag parameter).
35 36 37 |
# File 'lib/datadog_api_client/v2/models/ci_app_git_info.rb', line 35 def branch @branch end |
#commit_time ⇒ Object
The commit timestamp in RFC3339 format.
38 39 40 |
# File 'lib/datadog_api_client/v2/models/ci_app_git_info.rb', line 38 def commit_time @commit_time end |
#committer_email ⇒ Object
The committer email.
41 42 43 |
# File 'lib/datadog_api_client/v2/models/ci_app_git_info.rb', line 41 def committer_email @committer_email end |
#committer_name ⇒ Object
The committer name.
44 45 46 |
# File 'lib/datadog_api_client/v2/models/ci_app_git_info.rb', line 44 def committer_name @committer_name end |
#default_branch ⇒ Object
The Git repository’s default branch.
47 48 49 |
# File 'lib/datadog_api_client/v2/models/ci_app_git_info.rb', line 47 def default_branch @default_branch end |
#message ⇒ Object
The commit message.
50 51 52 |
# File 'lib/datadog_api_client/v2/models/ci_app_git_info.rb', line 50 def @message end |
#repository_url ⇒ Object
The URL of the repository.
53 54 55 |
# File 'lib/datadog_api_client/v2/models/ci_app_git_info.rb', line 53 def repository_url @repository_url end |
#sha ⇒ Object
The git commit SHA.
56 57 58 |
# File 'lib/datadog_api_client/v2/models/ci_app_git_info.rb', line 56 def sha @sha end |
#tag ⇒ Object
The tag name (if a branch use the branch parameter).
59 60 61 |
# File 'lib/datadog_api_client/v2/models/ci_app_git_info.rb', line 59 def tag @tag end |