Class: DatadogAPIClient::V2::AIImpactUserActivityAttributes
- Inherits:
-
Object
- Object
- DatadogAPIClient::V2::AIImpactUserActivityAttributes
- Includes:
- BaseGenericModel
- Defined in:
- lib/datadog_api_client/v2/models/ai_impact_user_activity_attributes.rb
Overview
Daily AI coding tool activity for a single user. Each entry reports whether the user was active on a given day and which AI tools and models they used.
Instance Attribute Summary collapse
-
#day ⇒ Object
readonly
The day the activity refers to, in
YYYY-MM-DDformat. -
#is_active ⇒ Object
readonly
Whether the user actively used the listed AI tools on that day.
-
#models ⇒ Object
The AI models the user used on that day, for example
claude-sonnet-4.5orgpt-5. -
#tools ⇒ Object
readonly
The AI coding tools the user used on that day, for example
Claude Code,Cursor, orGitHub Copilot. -
#user_email ⇒ Object
readonly
The email address of the user.
Method Summary
Methods included from BaseGenericModel
Instance Attribute Details
#day ⇒ Object
The day the activity refers to, in YYYY-MM-DD format.
26 27 28 |
# File 'lib/datadog_api_client/v2/models/ai_impact_user_activity_attributes.rb', line 26 def day @day end |
#is_active ⇒ Object
Whether the user actively used the listed AI tools on that day.
29 30 31 |
# File 'lib/datadog_api_client/v2/models/ai_impact_user_activity_attributes.rb', line 29 def is_active @is_active end |
#models ⇒ Object
The AI models the user used on that day, for example claude-sonnet-4.5 or gpt-5.
Values are lowercased and duplicates are removed.
33 34 35 |
# File 'lib/datadog_api_client/v2/models/ai_impact_user_activity_attributes.rb', line 33 def models @models end |
#tools ⇒ Object
The AI coding tools the user used on that day, for example Claude Code, Cursor, or
GitHub Copilot. Known tools are normalized to a canonical name (claude_code, cursor,
copilot), and other values are converted to snake case. Entries must not be empty.
38 39 40 |
# File 'lib/datadog_api_client/v2/models/ai_impact_user_activity_attributes.rb', line 38 def tools @tools end |
#user_email ⇒ Object
The email address of the user. It is case-insensitive and is matched against the email addresses of commit authors.
42 43 44 |
# File 'lib/datadog_api_client/v2/models/ai_impact_user_activity_attributes.rb', line 42 def user_email @user_email end |