Class: Openlayer::Models::Governance::FrameworkUpdateResponse::RuleStats::RuleResults
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Openlayer::Models::Governance::FrameworkUpdateResponse::RuleStats::RuleResults
- Defined in:
- lib/openlayer/models/governance/framework_update_response.rb,
sig/openlayer/models/governance/framework_update_response.rbs
Overview
Instance Attribute Summary collapse
-
#total ⇒ Integer
The total number of rule results.
-
#total_due_soon ⇒ Integer
The number of rule results whose evidence is about to expire.
-
#total_error ⇒ Integer
The number of rule results that errored during evaluation.
-
#total_failing ⇒ Integer
The number of failing rule results.
-
#total_passing ⇒ Integer
The number of passing rule results.
-
#total_pending ⇒ Integer
The number of rule results that have not been satisfied yet.
-
#total_running ⇒ Integer
The number of rule results currently being evaluated.
-
#total_skipped ⇒ Integer
The number of skipped rule results.
Instance Method Summary collapse
-
#initialize(total:, total_due_soon:, total_error:, total_failing:, total_passing:, total_pending:, total_running:, total_skipped:) ⇒ Object
constructor
Rule result counts by status for this framework, matching what
/workspaces/{workspaceId}/rule-stats?frameworkId=<id>reports. - #to_hash ⇒ {
Methods inherited from Internal::Type::BaseModel
==, #==, #[], coerce, #deconstruct_keys, #deep_to_h, dump, fields, hash, #hash, inherited, inspect, #inspect, known_fields, optional, recursively_to_h, required, #to_h, #to_json, #to_s, to_sorbet_type, #to_yaml
Methods included from Internal::Type::Converter
#coerce, coerce, #dump, dump, inspect, #inspect, meta_info, new_coerce_state, type_info
Methods included from Internal::Util::SorbetRuntimeSupport
#const_missing, #define_sorbet_constant!, #sorbet_constant_defined?, #to_sorbet_type, to_sorbet_type
Constructor Details
#initialize(total:, total_due_soon:, total_error:, total_failing:, total_passing:, total_pending:, total_running:, total_skipped:) ⇒ Object
Rule result counts by status for this framework, matching what
/workspaces/{workspaceId}/rule-stats?frameworkId=<id> reports. Narrowed to a
single project when the request also carries projectId.
|
|
# File 'lib/openlayer/models/governance/framework_update_response.rb', line 382
|
Instance Attribute Details
#total ⇒ Integer
The total number of rule results.
338 |
# File 'lib/openlayer/models/governance/framework_update_response.rb', line 338 required :total, Integer |
#total_due_soon ⇒ Integer
The number of rule results whose evidence is about to expire.
344 |
# File 'lib/openlayer/models/governance/framework_update_response.rb', line 344 required :total_due_soon, Integer, api_name: :totalDueSoon |
#total_error ⇒ Integer
The number of rule results that errored during evaluation.
350 |
# File 'lib/openlayer/models/governance/framework_update_response.rb', line 350 required :total_error, Integer, api_name: :totalError |
#total_failing ⇒ Integer
The number of failing rule results.
356 |
# File 'lib/openlayer/models/governance/framework_update_response.rb', line 356 required :total_failing, Integer, api_name: :totalFailing |
#total_passing ⇒ Integer
The number of passing rule results.
362 |
# File 'lib/openlayer/models/governance/framework_update_response.rb', line 362 required :total_passing, Integer, api_name: :totalPassing |
#total_pending ⇒ Integer
The number of rule results that have not been satisfied yet.
368 |
# File 'lib/openlayer/models/governance/framework_update_response.rb', line 368 required :total_pending, Integer, api_name: :totalPending |
#total_running ⇒ Integer
The number of rule results currently being evaluated.
374 |
# File 'lib/openlayer/models/governance/framework_update_response.rb', line 374 required :total_running, Integer, api_name: :totalRunning |
#total_skipped ⇒ Integer
The number of skipped rule results.
380 |
# File 'lib/openlayer/models/governance/framework_update_response.rb', line 380 required :total_skipped, Integer, api_name: :totalSkipped |
Instance Method Details
#to_hash ⇒ {
278 |
# File 'sig/openlayer/models/governance/framework_update_response.rbs', line 278 def to_hash: -> { |