class
Hamilton::Types::StoryAreaTypeWeather
- Hamilton::Types::StoryAreaTypeWeather
- Reference
- Object
Overview
Describes a story area containing weather information. Currently, a story can have up to 3 weather 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
-
#background_color : Int32
A color of the area background in the ARGB format.
-
#background_color=(background_color : Int32)
A color of the area background in the ARGB format.
-
#emoji : String
Emoji representing the weather.
-
#emoji=(emoji : String)
Emoji representing the weather.
-
#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.
-
#temperature : Float32
Temperature, in degree Celsius.
-
#temperature=(temperature : Float32)
Temperature, in degree Celsius.
-
#type : String
Type of the area, always "weather".
-
#type=(type : String)
Type of the area, always "weather".
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
def background_color=(background_color : Int32)
#
A color of the area background in the ARGB format.