Class: DatadogAPIClient::V2::CIAppGitHubAccountUpdateRequestAttributes

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

Overview

Attributes for updating a GitHub account's CI Visibility opt-in status. At least one of enabled or repository.enabled must be provided.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#accountObject

The GitHub account (organization or user) name to update, identified by name.



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

def 
  @account
end

#additional_propertiesObject

Returns the value of attribute additional_properties.



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

def additional_properties
  @additional_properties
end

#enabledObject

Whether to enable or disable CI Visibility at the account level.



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

def enabled
  @enabled
end

#hostObject

The GitHub host (github.com or a GHES hostname) the account belongs to. Required to disambiguate when the same account name exists on more than one host.



33
34
35
# File 'lib/datadog_api_client/v2/models/ci_app_git_hub_account_update_request_attributes.rb', line 33

def host
  @host
end

#repositoryObject

Repository-level opt-in change to apply, identified by name.



36
37
38
# File 'lib/datadog_api_client/v2/models/ci_app_git_hub_account_update_request_attributes.rb', line 36

def repository
  @repository
end