struct Facebook::Proto::LiveVideoTargeting

Included Modules

Defined in:

cli/proto/facebook/LiveVideoTargeting.pb.cr

Constant Summary

FIELDS = {1 => {name: :age_max, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :age_min, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :excluded_countries, 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

Class Method Summary

Instance Method Summary

Constructor Detail

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

def self.new(age_max : Int64 | Nil = nil, age_min : Int64 | Nil = nil, excluded_countries : Array(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 age_max : Int64 | Nil #

def age_max=(age_max : Int64 | Nil) #

def age_min : Int64 | Nil #

def age_min=(age_min : Int64 | Nil) #

def excluded_countries : Array(String) | Nil #

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

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

def to_hash #

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

def to_protobuf #