Class: DatadogAPIClient::V2::CIAppGitInfo

Inherits:
Object
  • Object
show all
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

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#author_emailObject

The commit author email.



26
27
28
# File 'lib/datadog_api_client/v2/models/ci_app_git_info.rb', line 26

def author_email
  @author_email
end

#author_nameObject

The commit author name.



29
30
31
# File 'lib/datadog_api_client/v2/models/ci_app_git_info.rb', line 29

def author_name
  @author_name
end

#author_timeObject

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
  @author_time
end

#branchObject

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_timeObject

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_emailObject

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_nameObject

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_branchObject

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

#messageObject

The commit message.



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

def message
  @message
end

#repository_urlObject

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

#shaObject

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

#tagObject

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