struct Facebook::Proto::BrandAudience

Included Modules

Defined in:

cli/proto/facebook/BrandAudience.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: :account_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :delivery_targeting, pb_type: Targeting, crystal_type: Targeting, cast_type: Targeting?, native: false, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :sentence_lines, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 7 => {name: :status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :targeting, pb_type: Targeting, crystal_type: Targeting, cast_type: Targeting?, native: false, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :time_created, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :time_updated, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, 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, account_id : String | Nil = nil, delivery_targeting : Targeting | Nil = nil, description : String | Nil = nil, name : String | Nil = nil, sentence_lines : Array(String) | Nil = nil, status : String | Nil = nil, targeting : Targeting | Nil = nil, time_created : Datetime | Nil = nil, time_updated : Datetime | 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 account_id : String | Nil #

def account_id=(account_id : String | Nil) #

def delivery_targeting : Targeting | Nil #

def delivery_targeting=(delivery_targeting : Targeting | Nil) #

def description : String | Nil #

def description=(description : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def sentence_lines : Array(String) | Nil #

def sentence_lines=(sentence_lines : Array(String) | Nil) #

def sentence_lines=(sentence_lines : Array(String) | Nil) #

def status : String | Nil #

def status=(status : String | Nil) #

def targeting : Targeting | Nil #

def targeting=(targeting : Targeting | Nil) #

def time_created : Datetime | Nil #

def time_created=(time_created : Datetime | Nil) #

def time_updated : Datetime | Nil #

def time_updated=(time_updated : Datetime | Nil) #

def to_hash #

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

def to_protobuf #