Class: Believe::Models::ReframeTransformNegativeThoughtsResponse

Inherits:
Internal::Type::BaseModel show all
Defined in:
lib/believe/models/reframe_transform_negative_thoughts_response.rb

Overview

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(daily_affirmation:, original_thought:, reframed_thought:, ted_perspective:, dr_sharon_insight: nil) ⇒ Object

Reframed perspective response.

Parameters:

  • daily_affirmation (String)

    A daily affirmation to practice

  • original_thought (String)

    The original negative thought

  • reframed_thought (String)

    The thought reframed positively

  • ted_perspective (String)

    Ted’s take on this thought

  • dr_sharon_insight (String, nil) (defaults to: nil)

    Dr. Sharon’s therapeutic insight



# File 'lib/believe/models/reframe_transform_negative_thoughts_response.rb', line 37

Instance Attribute Details

#daily_affirmationString

A daily affirmation to practice

Returns:

  • (String)


11
# File 'lib/believe/models/reframe_transform_negative_thoughts_response.rb', line 11

required :daily_affirmation, String

#dr_sharon_insightString?

Dr. Sharon’s therapeutic insight

Returns:

  • (String, nil)


35
# File 'lib/believe/models/reframe_transform_negative_thoughts_response.rb', line 35

optional :dr_sharon_insight, String, nil?: true

#original_thoughtString

The original negative thought

Returns:

  • (String)


17
# File 'lib/believe/models/reframe_transform_negative_thoughts_response.rb', line 17

required :original_thought, String

#reframed_thoughtString

The thought reframed positively

Returns:

  • (String)


23
# File 'lib/believe/models/reframe_transform_negative_thoughts_response.rb', line 23

required :reframed_thought, String

#ted_perspectiveString

Ted’s take on this thought

Returns:

  • (String)


29
# File 'lib/believe/models/reframe_transform_negative_thoughts_response.rb', line 29

required :ted_perspective, String