struct Facebook::Proto::AdPlacement

Included Modules

Defined in:

cli/proto/facebook/AdPlacement.pb.cr

Constant Summary

FIELDS = {1 => {name: :id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :bundle_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :display_format, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :external_placement_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :google_display_format, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :platform, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :status, 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(id : String | Nil = nil, bundle_id : String | Nil = nil, display_format : String | Nil = nil, external_placement_id : String | Nil = nil, google_display_format : String | Nil = nil, name : String | Nil = nil, platform : String | Nil = nil, status : 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 bundle_id : String | Nil #

def bundle_id=(bundle_id : String | Nil) #

def display_format : String | Nil #

def display_format=(display_format : String | Nil) #

def external_placement_id : String | Nil #

def external_placement_id=(external_placement_id : String | Nil) #

def google_display_format : String | Nil #

def google_display_format=(google_display_format : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def platform : String | Nil #

def platform=(platform : String | Nil) #

def status : String | Nil #

def status=(status : String | Nil) #

def to_hash #

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

def to_protobuf #