Class: Cadenya::Types::CompactionConfig_ToolResultClearingStrategy
- Inherits:
-
Object
- Object
- Cadenya::Types::CompactionConfig_ToolResultClearingStrategy
- Defined in:
- lib/cadenya/types.rb
Instance Attribute Summary collapse
-
#preserve_recent_results ⇒ Object
readonly
Returns the value of attribute preserve_recent_results.
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(preserve_recent_results: nil) ⇒ CompactionConfig_ToolResultClearingStrategy
constructor
A new instance of CompactionConfig_ToolResultClearingStrategy.
- #to_h ⇒ Object
Constructor Details
#initialize(preserve_recent_results: nil) ⇒ CompactionConfig_ToolResultClearingStrategy
Returns a new instance of CompactionConfig_ToolResultClearingStrategy.
1232 1233 1234 |
# File 'lib/cadenya/types.rb', line 1232 def initialize(preserve_recent_results: nil) @preserve_recent_results = preserve_recent_results end |
Instance Attribute Details
#preserve_recent_results ⇒ Object (readonly)
Returns the value of attribute preserve_recent_results.
1230 1231 1232 |
# File 'lib/cadenya/types.rb', line 1230 def preserve_recent_results @preserve_recent_results end |
Class Method Details
.from_json(data) ⇒ Object
1236 1237 1238 1239 1240 |
# File 'lib/cadenya/types.rb', line 1236 def self.from_json(data) new( preserve_recent_results: data["preserveRecentResults"], ) end |