class
Hamilton::Types::StoryAreaTypeSuggestedReaction
- Hamilton::Types::StoryAreaTypeSuggestedReaction
- Reference
- Object
Overview
Describes a story area pointing to a suggested reaction. Currently, a story can have up to 5 suggested reaction areas.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/story_area_type.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#is_dark : Bool | Nil
Pass True if the reaction area has a dark background.
-
#is_dark=(is_dark : Bool | Nil)
Pass True if the reaction area has a dark background.
-
#is_flipped : Bool | Nil
Pass True if reaction area corner is flipped.
-
#is_flipped=(is_flipped : Bool | Nil)
Pass True if reaction area corner is flipped.
-
#non_nil_fields : Array(String)
List of available non-nil fields.
-
#non_nil_fields=(non_nil_fields : Array(String))
List of available non-nil fields.
-
#reaction_type : Hamilton::Types::ReactionType
Type of the reaction.
-
#reaction_type=(reaction_type : Hamilton::Types::ReactionType)
Type of the reaction.
-
#type : String
Type of the area, always "suggested_reaction".
-
#type=(type : String)
Type of the area, always "suggested_reaction".