class
Hamilton::Types::StoryAreaTypeLocation
- Hamilton::Types::StoryAreaTypeLocation
- Reference
- Object
Overview
Describes a story area pointing to a location. Currently, a story can have up to 10 location 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
-
#address : Hamilton::Types::LocationAddress
Address of the location.
-
#address=(address : Hamilton::Types::LocationAddress)
Address of the location.
-
#latitude : Float32
Location latitude in degrees.
-
#latitude=(latitude : Float32)
Location latitude in degrees.
-
#longitude : Float32
Location longitude in degrees.
-
#longitude=(longitude : Float32)
Location longitude in degrees.
-
#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.
-
#type : String
Type of the area, always “location”.
-
#type=(type : String)
Type of the area, always “location”.