Class: Cadenya::Models::ObjectiveCreateParams::Secret
- Inherits:
-
Internal::Type::BaseModel
- Object
- Internal::Type::BaseModel
- Cadenya::Models::ObjectiveCreateParams::Secret
- Defined in:
- lib/cadenya/models/objective_create_params.rb,
sig/cadenya/models/objective_create_params.rbs
Instance Attribute Summary collapse
Instance Method Summary collapse
-
#initialize(name: nil, value: nil) ⇒ Secret
constructor
A new instance of Secret.
- #to_hash ⇒ { name: String, value: 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(name: nil, value: nil) ⇒ Secret
Returns a new instance of Secret.
|
|
# File 'lib/cadenya/models/objective_create_params.rb', line 154
|
Instance Attribute Details
#name ⇒ String?
147 |
# File 'lib/cadenya/models/objective_create_params.rb', line 147 optional :name, String |
#value ⇒ String?
152 |
# File 'lib/cadenya/models/objective_create_params.rb', line 152 optional :value, String |
Instance Method Details
#to_hash ⇒ { name: String, value: String }
117 |
# File 'sig/cadenya/models/objective_create_params.rbs', line 117
def to_hash: -> { name: String, value: String }
|