struct Facebook::Proto::AdCreativePlaceData

Included Modules

Defined in:

cli/proto/facebook/AdCreativePlaceData.pb.cr

Constant 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

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

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) #

def self.new(pull : JSON::PullParser) #

Class Method Detail

def self.from_protobuf(io) #

Instance Method Detail

def [](key : String) #

def []=(key : String, val) #

def []?(key : String) #

def address_string : String | Nil #

def address_string=(address_string : String | Nil) #

def label : String | Nil #

def label=(label : String | Nil) #

def latitude : Float64 | Nil #

def latitude=(latitude : Float64 | Nil) #

def location_source_id : String | Nil #

def location_source_id=(location_source_id : String | Nil) #

def longitude : Float64 | Nil #

def longitude=(longitude : Float64 | Nil) #

def to_hash #

def to_protobuf(io : IO, embedded = false) #

def to_protobuf #

def type : String | Nil #

def type=(type : String | Nil) #