struct Facebook::Proto::TargetingGeoLocation
- Facebook::Proto::TargetingGeoLocation
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/TargetingGeoLocation.pb.crConstant Summary
-
FIELDS =
{1 => {name: :countries, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 2 => {name: :country_groups, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 3 => {name: :location_set_ids, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 4 => {name: :location_types, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}} of Int32 => HashLiteral(Symbol, ASTNode)
-
Fields =
{} of String => Field
Constructors
- .new(buf : Protobuf::Buffer)
- .new(countries : Array(String) | Nil = nil, country_groups : Array(String) | Nil = nil, location_set_ids : Array(String) | Nil = nil, location_types : Array(String) | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #countries : Array(String) | Nil
- #countries=(countries : Array(String) | Nil)
- #countries=(countries : Array(String) | Nil)
- #country_groups : Array(String) | Nil
- #country_groups=(country_groups : Array(String) | Nil)
- #country_groups=(country_groups : Array(String) | Nil)
- #location_set_ids : Array(String) | Nil
- #location_set_ids=(location_set_ids : Array(String) | Nil)
- #location_set_ids=(location_set_ids : Array(String) | Nil)
- #location_types : Array(String) | Nil
- #location_types=(location_types : Array(String) | Nil)
- #location_types=(location_types : Array(String) | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(countries : Array(String) | Nil = nil, country_groups : Array(String) | Nil = nil, location_set_ids : Array(String) | Nil = nil, location_types : Array(String) | Nil = nil)
#