Class: Cadenya::Models::ApprovalRequirementFilterAlways
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::ApprovalRequirementFilterAlways
- Defined in:
- lib/cadenya/models/approval_requirement_filter_always.rb,
sig/cadenya/models/approval_requirement_filter_always.rbs
Defined Under Namespace
Modules: Type
Instance Attribute Summary collapse
Instance Method Summary collapse
- #initialize(always:, type:) ⇒ Object constructor
- #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(always:, type:) ⇒ Object
|
|
# File 'lib/cadenya/models/approval_requirement_filter_always.rb', line 16
|
Instance Attribute Details
#always ⇒ Boolean
9 |
# File 'lib/cadenya/models/approval_requirement_filter_always.rb', line 9 required :always, Cadenya::Internal::Type::Boolean |
#type ⇒ Symbol, Cadenya::Models::ApprovalRequirementFilterAlways::Type
14 |
# File 'lib/cadenya/models/approval_requirement_filter_always.rb', line 14 required :type, enum: -> { Cadenya::ApprovalRequirementFilterAlways::Type } |
Instance Method Details
#to_hash ⇒ {
19 |
# File 'sig/cadenya/models/approval_requirement_filter_always.rbs', line 19
def to_hash: -> {
|