Class: Straddle::Models::CapabilityRequestCreateParams::Individuals
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Straddle::Models::CapabilityRequestCreateParams::Individuals
- Defined in:
- lib/straddle/models/capability_request_create_params.rb,
sig/straddle/models/capability_request_create_params.rbs
Instance Attribute Summary collapse
-
#enable ⇒ Boolean
Whether the request enables or disables the capability.
Instance Method Summary collapse
-
#initialize ⇒ Individuals
constructor
A new instance of Individuals.
- #to_hash ⇒ { enable: bool }
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 ⇒ Individuals
Returns a new instance of Individuals.
152 |
# File 'sig/straddle/models/capability_request_create_params.rbs', line 152
def initialize: (enable: bool) -> void
|
Instance Attribute Details
#enable ⇒ Boolean
Whether the request enables or disables the capability.
155 |
# File 'lib/straddle/models/capability_request_create_params.rb', line 155 required :enable, Straddle::Internal::Type::Boolean |
Instance Method Details
#to_hash ⇒ { enable: bool }
154 |
# File 'sig/straddle/models/capability_request_create_params.rbs', line 154
def to_hash: -> { enable: bool }
|