Class: Cadenya::Models::ObjectiveContinueParams::Secret

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/cadenya/models/objective_continue_params.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

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) ⇒ Object

Parameters:

  • name (String) (defaults to: nil)
  • value (String) (defaults to: nil)


56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# File 'lib/cadenya/models/objective_continue_params.rb', line 56

class Secret < Cadenya::Internal::Type::BaseModel
  # @!attribute name
  #
  #   @return [String, nil]
  optional :name, String

  # @!attribute value
  #
  #   @return [String, nil]
  optional :value, String

  # @!method initialize(name: nil, value: nil)
  #   @param name [String]
  #   @param value [String]
end

Instance Attribute Details

#nameString?

Returns:

  • (String, nil)


60
# File 'lib/cadenya/models/objective_continue_params.rb', line 60

optional :name, String

#valueString?

Returns:

  • (String, nil)


65
# File 'lib/cadenya/models/objective_continue_params.rb', line 65

optional :value, String