struct Facebook::Proto::CustomAudienceSession

Included Modules

Defined in:

cli/proto/facebook/CustomAudienceSession.pb.cr

Constant Summary

FIELDS = {1 => {name: :end_time, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :num_invalid_entries, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :num_matched, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :num_received, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :progress, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :session_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :stage, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :start_time, 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(end_time : String | Nil = nil, num_invalid_entries : String | Nil = nil, num_matched : String | Nil = nil, num_received : String | Nil = nil, progress : String | Nil = nil, session_id : String | Nil = nil, stage : String | Nil = nil, start_time : 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 end_time : String | Nil #

def end_time=(end_time : String | Nil) #

def num_invalid_entries : String | Nil #

def num_invalid_entries=(num_invalid_entries : String | Nil) #

def num_matched : String | Nil #

def num_matched=(num_matched : String | Nil) #

def num_received : String | Nil #

def num_received=(num_received : String | Nil) #

def progress : String | Nil #

def progress=(progress : String | Nil) #

def session_id : String | Nil #

def session_id=(session_id : String | Nil) #

def stage : String | Nil #

def stage=(stage : String | Nil) #

def start_time : String | Nil #

def start_time=(start_time : String | Nil) #

def to_hash #

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

def to_protobuf #