Class: Cadenya::Models::ToolSets::ConfigOpenAPI
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::ToolSets::ConfigOpenAPI
- Defined in:
- lib/cadenya/models/tool_sets/config_openapi.rb,
sig/cadenya/models/tool_sets/config_openapi.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(method_: nil, path: nil) ⇒ ConfigOpenAPI
constructor
A new instance of ConfigOpenAPI.
- #to_hash ⇒ { method_: String, path: String }
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(method_: nil, path: nil) ⇒ ConfigOpenAPI
Returns a new instance of ConfigOpenAPI.
|
|
# File 'lib/cadenya/models/tool_sets/config_openapi.rb', line 17
|
Instance Attribute Details
#method_ ⇒ String?
10 |
# File 'lib/cadenya/models/tool_sets/config_openapi.rb', line 10 optional :method_, String, api_name: :method |
#path ⇒ String?
15 |
# File 'lib/cadenya/models/tool_sets/config_openapi.rb', line 15 optional :path, String |
Instance Method Details
#to_hash ⇒ { method_: String, path: String }
17 |
# File 'sig/cadenya/models/tool_sets/config_openapi.rbs', line 17
def to_hash: -> { method_: String, path: String }
|