Class: Openlayer::Models::Governance::RuleStatRetrieveResponse::Rules
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Openlayer::Models::Governance::RuleStatRetrieveResponse::Rules
- Defined in:
- lib/openlayer/models/governance/rule_stat_retrieve_response.rb,
sig/openlayer/models/governance/rule_stat_retrieve_response.rbs
Overview
Defined Under Namespace
Instance Attribute Summary collapse
-
#by_scope ⇒ Openlayer::Models::Governance::RuleStatRetrieveResponse::Rules::ByScope?
Rule counts by scope.
-
#by_type ⇒ Openlayer::Models::Governance::RuleStatRetrieveResponse::Rules::ByType?
Rule counts by type.
-
#total ⇒ Integer?
The total number of rules.
Instance Method Summary collapse
-
#initialize(project: nil, workspace: nil) ⇒ Object
constructor
Rule counts by scope.
- #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(project: nil, workspace: nil) ⇒ Object
Rule counts by scope.
|
|
# File 'lib/openlayer/models/governance/rule_stat_retrieve_response.rb', line 454
|
Instance Attribute Details
#by_scope ⇒ Openlayer::Models::Governance::RuleStatRetrieveResponse::Rules::ByScope?
Rule counts by scope.
436 437 438 |
# File 'lib/openlayer/models/governance/rule_stat_retrieve_response.rb', line 436 optional :by_scope, -> { Openlayer::Models::Governance::RuleStatRetrieveResponse::Rules::ByScope }, api_name: :byScope |
#by_type ⇒ Openlayer::Models::Governance::RuleStatRetrieveResponse::Rules::ByType?
Rule counts by type.
444 445 446 |
# File 'lib/openlayer/models/governance/rule_stat_retrieve_response.rb', line 444 optional :by_type, -> { Openlayer::Models::Governance::RuleStatRetrieveResponse::Rules::ByType }, api_name: :byType |
#total ⇒ Integer?
The total number of rules.
452 |
# File 'lib/openlayer/models/governance/rule_stat_retrieve_response.rb', line 452 optional :total, Integer |
Instance Method Details
#to_hash ⇒ {
393 |
# File 'sig/openlayer/models/governance/rule_stat_retrieve_response.rbs', line 393
def to_hash: -> {
|