class Hamilton::Types::StoryAreaTypeLocation

Overview

Describes a story area pointing to a location. Currently, a story can have up to 10 location areas.

Included Modules

Defined in:

types/story_area_type.cr

Constructors

Instance Method Summary

Instance methods inherited from class Reference

==(other : Hamilton::Any) ==

Instance methods inherited from class Object

===(other : Hamilton::Any) ===

Constructor Detail

def self.new(pull : JSON::PullParser) #

def self.new(params) #

def self.new(*, __pull_for_json_serializable pull : JSON::PullParser) #

def self.new(**params) #

Instance Method Detail

Address of the location.


def address=(address : Hamilton::Types::LocationAddress) #

Address of the location.


def latitude : Float32 #

Location latitude in degrees.


def latitude=(latitude : Float32) #

Location latitude in degrees.


def longitude : Float32 #

Location longitude in degrees.


def longitude=(longitude : Float32) #

Location longitude in degrees.


def non_nil_fields : Array(String) #

List of available non-nil fields.


def non_nil_fields=(non_nil_fields : Array(String)) #

List of available non-nil fields.


def type : String #

Type of the area, always “location”.


def type=(type : String) #

Type of the area, always “location”.