Class: Openlayer::Models::Governance::RuleStatRetrieveResponse::Rules::ByScope
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Openlayer::Models::Governance::RuleStatRetrieveResponse::Rules::ByScope
- Defined in:
- lib/openlayer/models/governance/rule_stat_retrieve_response.rb,
sig/openlayer/models/governance/rule_stat_retrieve_response.rbs
Overview
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize ⇒ ByScope
constructor
A new instance of ByScope.
- #to_hash ⇒ { project: Integer, workspace: Integer }
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 ⇒ ByScope
Returns a new instance of ByScope.
410 |
# File 'sig/openlayer/models/governance/rule_stat_retrieve_response.rbs', line 410
def initialize: (?project: Integer, ?workspace: Integer) -> void
|
Instance Attribute Details
#project ⇒ Integer?
468 |
# File 'lib/openlayer/models/governance/rule_stat_retrieve_response.rb', line 468 optional :project, Integer |
#workspace ⇒ Integer?
473 |
# File 'lib/openlayer/models/governance/rule_stat_retrieve_response.rb', line 473 optional :workspace, Integer |
Instance Method Details
#to_hash ⇒ { project: Integer, workspace: Integer }
412 |
# File 'sig/openlayer/models/governance/rule_stat_retrieve_response.rbs', line 412
def to_hash: -> { project: Integer, workspace: Integer }
|