Class: DatadogAPIClient::V2::FeatureFlagChangeEventAttributes

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

Overview

Attributes of a feature flag change event.

Instance Attribute Summary collapse

Method Summary

Methods included from BaseGenericModel

included

Instance Attribute Details

#action ⇒ Object

The kind of change.



25
26
27
# File 'lib/datadog_api_client/v2/models/feature_flag_change_event_attributes.rb', line 25

def action
  @action
end

#additional_properties ⇒ Object

Returns the value of attribute additional_properties.



65
66
67
# File 'lib/datadog_api_client/v2/models/feature_flag_change_event_attributes.rb', line 65

def additional_properties
  @additional_properties
end

#change_metadata ⇒ Object

Additional details about the change, as a JSON-encoded string.



28
29
30
# File 'lib/datadog_api_client/v2/models/feature_flag_change_event_attributes.rb', line 28

def 
  @change_metadata
end

#creation_source ⇒ Object

Where the change was made: UI for the Datadog app, or MCP for a Model Context Protocol (MCP) client.



31
32
33
# File 'lib/datadog_api_client/v2/models/feature_flag_change_event_attributes.rb', line 31

def creation_source
  @creation_source
end

#description ⇒ Object

A readable sentence describing the change, as shown on the flag history page and in the Action column of the CSV export.



34
35
36
# File 'lib/datadog_api_client/v2/models/feature_flag_change_event_attributes.rb', line 34

def description
  @description
end

#environment ⇒ Object

The environment the change applies to. Null for a change to the flag itself rather than to one environment.



37
38
39
# File 'lib/datadog_api_client/v2/models/feature_flag_change_event_attributes.rb', line 37

def environment
  @environment
end

#feature_flag ⇒ Object

The feature flag the change applies to.



40
41
42
# File 'lib/datadog_api_client/v2/models/feature_flag_change_event_attributes.rb', line 40

def feature_flag
  @feature_flag
end

#new_value ⇒ Object

The value after the change, serialized as a string.



43
44
45
# File 'lib/datadog_api_client/v2/models/feature_flag_change_event_attributes.rb', line 43

def new_value
  @new_value
end

#previous_value ⇒ Object

The value before the change, serialized as a string.



46
47
48
# File 'lib/datadog_api_client/v2/models/feature_flag_change_event_attributes.rb', line 46

def previous_value
  @previous_value
end

#property ⇒ Object

The part of the feature flag the change applies to.



49
50
51
# File 'lib/datadog_api_client/v2/models/feature_flag_change_event_attributes.rb', line 49

def property
  @property
end

#suggestion_review ⇒ Object

Review details of a change request that needed approval. Present on review events, which include_suggestion_events adds. Also present on a change that an approved change request applied, even when include_suggestion_events is false.



54
55
56
# File 'lib/datadog_api_client/v2/models/feature_flag_change_event_attributes.rb', line 54

def suggestion_review
  @suggestion_review
end

#timestamp ⇒ Object

When the change was made.



57
58
59
# File 'lib/datadog_api_client/v2/models/feature_flag_change_event_attributes.rb', line 57

def timestamp
  @timestamp
end

#user_id ⇒ Object

The ID of the user who made the change. Null when no user made the change.



60
61
62
# File 'lib/datadog_api_client/v2/models/feature_flag_change_event_attributes.rb', line 60

def user_id
  @user_id
end

#version_number ⇒ Object

The version of the feature flag the change produced.



63
64
65
# File 'lib/datadog_api_client/v2/models/feature_flag_change_event_attributes.rb', line 63

def version_number
  @version_number
end