class
Hamilton::Types::LocationAddress
- Hamilton::Types::LocationAddress
- Reference
- Object
Overview
Describes the physical address of a location.
Included Modules
- Hamilton::Types::Common
- JSON::Serializable
Defined in:
types/location_address.crConstructors
- .new(pull : JSON::PullParser)
- .new(params)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
- .new(**params)
Instance Method Summary
-
#city : String | Nil
City of the location.
-
#city=(city : String | Nil)
City of the location.
-
#country_code : String
The two-letter ISO 3166-1 alpha-2 country code of the country where the location is located.
-
#country_code=(country_code : String)
The two-letter ISO 3166-1 alpha-2 country code of the country where the location is located.
-
#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.
-
#state : String | Nil
State of the location.
-
#state=(state : String | Nil)
State of the location.
-
#street : String | Nil
Street address of the location.
-
#street=(street : String | Nil)
Street address of the location.
Instance methods inherited from class Reference
==(other : Hamilton::Any)
==
Instance methods inherited from class Object
===(other : Hamilton::Any)
===
Constructor Detail
Instance Method Detail
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.