struct Facebook::Proto::AdCreativePlaceData
- Facebook::Proto::AdCreativePlaceData
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/AdCreativePlaceData.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: :label, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :latitude, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :location_source_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :longitude, pb_type: :double, crystal_type: Float64, cast_type: Float64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :type, pb_type: :string, crystal_type: String, cast_type: String?, 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, label : String | Nil = nil, latitude : Float64 | Nil = nil, location_source_id : String | Nil = nil, longitude : Float64 | Nil = nil, type : String | 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)
- #label : String | Nil
- #label=(label : String | Nil)
- #latitude : Float64 | Nil
- #latitude=(latitude : Float64 | Nil)
- #location_source_id : String | Nil
- #location_source_id=(location_source_id : String | Nil)
- #longitude : Float64 | Nil
- #longitude=(longitude : Float64 | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #type : String | Nil
- #type=(type : String | Nil)
Constructor Detail
def self.new(address_string : String | Nil = nil, label : String | Nil = nil, latitude : Float64 | Nil = nil, location_source_id : String | Nil = nil, longitude : Float64 | Nil = nil, type : String | Nil = nil)
#