struct Facebook::Proto::FlexibleTargeting

Included Modules

Defined in:

cli/proto/facebook/FlexibleTargeting.pb.cr

Constant Summary

FIELDS = {1 => {name: :college_years, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 2 => {name: :education_statuses, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 3 => {name: :interested_in, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, native: true, optional: true, repeated: true, default: nil, packed: false}, 4 => {name: :relationship_statuses, pb_type: :int64, crystal_type: Int64, cast_type: Array(Int64)?, 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(college_years : Array(Int64) | Nil = nil, education_statuses : Array(Int64) | Nil = nil, interested_in : Array(Int64) | Nil = nil, relationship_statuses : Array(Int64) | 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 college_years : Array(Int64) | Nil #

def college_years=(college_years : Array(Int64) | Nil) #

def college_years=(college_years : Array(Int64) | Nil) #

def education_statuses : Array(Int64) | Nil #

def education_statuses=(education_statuses : Array(Int64) | Nil) #

def education_statuses=(education_statuses : Array(Int64) | Nil) #

def interested_in : Array(Int64) | Nil #

def interested_in=(interested_in : Array(Int64) | Nil) #

def interested_in=(interested_in : Array(Int64) | Nil) #

def relationship_statuses : Array(Int64) | Nil #

def relationship_statuses=(relationship_statuses : Array(Int64) | Nil) #

def relationship_statuses=(relationship_statuses : Array(Int64) | Nil) #

def to_hash #

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

def to_protobuf #