struct Facebook::Proto::AdAccountAdRulesHistory

Included Modules

Defined in:

cli/proto/facebook/AdAccountAdRulesHistory.pb.cr

Constant Summary

FIELDS = {1 => {name: :account_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :exception_code, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :exception_message, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :is_manual, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :rule_id, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :timestamp, 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(account_id : String | Nil = nil, exception_code : Int64 | Nil = nil, exception_message : String | Nil = nil, is_manual : Bool | Nil = nil, rule_id : Int64 | Nil = nil, timestamp : 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 exception_code : Int64 | Nil #

def exception_code=(exception_code : Int64 | Nil) #

def exception_message : String | Nil #

def exception_message=(exception_message : String | Nil) #

def is_manual : Bool | Nil #

def is_manual=(is_manual : Bool | Nil) #

def rule_id : Int64 | Nil #

def rule_id=(rule_id : Int64 | Nil) #

def timestamp : Datetime | Nil #

def timestamp=(timestamp : Datetime | Nil) #

def to_hash #

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

def to_protobuf #