class
Hamilton::Types::Venue
- Hamilton::Types::Venue
- Reference
- Object
Overview
This object represents a venue.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/venue.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#address : String
Address of the venue.
-
#address=(address : String)
Address of the venue.
-
#foursquare_id : String | Nil
Foursquare identifier of the venue.
-
#foursquare_id=(foursquare_id : String | Nil)
Foursquare identifier of the venue.
-
#foursquare_type : String | Nil
Foursquare type of the venue.
-
#foursquare_type=(foursquare_type : String | Nil)
Foursquare type of the venue.
-
#google_place_id : String | Nil
Google Places identifier of the venue.
-
#google_place_id=(google_place_id : String | Nil)
Google Places identifier of the venue.
-
#google_place_type : String | Nil
Google Places type of the venue.
-
#google_place_type=(google_place_type : String | Nil)
Google Places type of the venue.
-
#location : Hamilton::Types::Location
Venue location.
-
#location=(location : Hamilton::Types::Location)
Venue location.
-
#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.
-
#title : String
Name of the venue.
-
#title=(title : String)
Name of the venue.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
def foursquare_type : String | Nil
#
Foursquare type of the venue. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.).
def foursquare_type=(foursquare_type : String | Nil)
#
Foursquare type of the venue. (For example, “arts_entertainment/default”, “arts_entertainment/aquarium” or “food/icecream”.).