def primary_city_id : Int64 | Nil
#
struct Facebook::Proto::TargetingGeoLocationCustomLocation
- Facebook::Proto::TargetingGeoLocationCustomLocation
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/TargetingGeoLocationCustomLocation.pb.crConstant Summary
-
FIELDS =
{1 => {name: :address_string, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :country, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :country_group, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :custom_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :distance_unit, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :key, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :latitude, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :longitude, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :max_population, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :min_population, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :primary_city_id, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 13 => {name: :radius, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 14 => {name: :region_id, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
-
Fields =
{} of String => Field
Constructors
- .new(buf : Protobuf::Buffer)
- .new(address_string : String | Nil = nil, country : String | Nil = nil, country_group : String | Nil = nil, custom_type : String | Nil = nil, distance_unit : String | Nil = nil, key : String | Nil = nil, latitude : Float64 | Nil = nil, longitude : Float64 | Nil = nil, max_population : Int64 | Nil = nil, min_population : Int64 | Nil = nil, name : String | Nil = nil, primary_city_id : Int64 | Nil = nil, radius : Float64 | Nil = nil, region_id : Int64 | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #address_string : String | Nil
- #address_string=(address_string : String | Nil)
- #country : String | Nil
- #country=(country : String | Nil)
- #country_group : String | Nil
- #country_group=(country_group : String | Nil)
- #custom_type : String | Nil
- #custom_type=(custom_type : String | Nil)
- #distance_unit : String | Nil
- #distance_unit=(distance_unit : String | Nil)
- #key : String | Nil
- #key=(key : String | Nil)
- #latitude : Float64 | Nil
- #latitude=(latitude : Float64 | Nil)
- #longitude : Float64 | Nil
- #longitude=(longitude : Float64 | Nil)
- #max_population : Int64 | Nil
- #max_population=(max_population : Int64 | Nil)
- #min_population : Int64 | Nil
- #min_population=(min_population : Int64 | Nil)
- #name : String | Nil
- #name=(name : String | Nil)
- #primary_city_id : Int64 | Nil
- #primary_city_id=(primary_city_id : Int64 | Nil)
- #radius : Float64 | Nil
- #radius=(radius : Float64 | Nil)
- #region_id : Int64 | Nil
- #region_id=(region_id : Int64 | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(address_string : String | Nil = nil, country : String | Nil = nil, country_group : String | Nil = nil, custom_type : String | Nil = nil, distance_unit : String | Nil = nil, key : String | Nil = nil, latitude : Float64 | Nil = nil, longitude : Float64 | Nil = nil, max_population : Int64 | Nil = nil, min_population : Int64 | Nil = nil, name : String | Nil = nil, primary_city_id : Int64 | Nil = nil, radius : Float64 | Nil = nil, region_id : Int64 | Nil = nil)
#