Class: DatadogAPIClient::V2::CIAppGitHubAccountUpdateRequestAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::CIAppGitHubAccountUpdateRequestAttributes
- 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
-
#account ⇒ Object
readonly
The GitHub account (organization or user) name to update, identified by name.
-
#additional_properties ⇒ Object
Returns the value of attribute additional_properties.
-
#enabled ⇒ Object
Whether to enable or disable CI Visibility at the account level.
-
#host ⇒ Object
The GitHub host (
github.comor a GHES hostname) the account belongs to. -
#repository ⇒ Object
Repository-level opt-in change to apply, identified by name.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#account ⇒ Object
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 @account end |
#additional_properties ⇒ Object
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 |
#enabled ⇒ Object
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 |
#host ⇒ Object
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 |
#repository ⇒ Object
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 |