class Hamilton::Types::Venue

Overview

This object represents a venue.

Included Modules

Defined in:

types/venue.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

def address : String #

Address of the venue.


def address=(address : String) #

Address of the venue.


def foursquare_id : String | Nil #

Foursquare identifier of the venue.


def foursquare_id=(foursquare_id : String | Nil) #

Foursquare identifier of the venue.


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”.).


def google_place_id : String | Nil #

Google Places identifier of the venue.


def google_place_id=(google_place_id : String | Nil) #

Google Places identifier of the venue.


def google_place_type : String | Nil #

Google Places type of the venue.


def google_place_type=(google_place_type : String | Nil) #

Google Places type of the venue.


def location : Hamilton::Types::Location #

Venue location. Can't be a live location.


def location=(location : Hamilton::Types::Location) #

Venue location. Can't be a live location.


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 title : String #

Name of the venue.


def title=(title : String) #

Name of the venue.