class Hamilton::Types::LocationAddress

Overview

Describes the physical address of a location.

Included Modules

Defined in:

types/location_address.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 city : String | Nil #

City of the location.


def city=(city : String | Nil) #

City of the location.


def country_code : String #

The two-letter ISO 3166-1 alpha-2 country code of the country where the location is located.


def country_code=(country_code : String) #

The two-letter ISO 3166-1 alpha-2 country code of the country where the location is located.


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 state : String | Nil #

State of the location.


def state=(state : String | Nil) #

State of the location.


def street : String | Nil #

Street address of the location.


def street=(street : String | Nil) #

Street address of the location.