struct Facebook::Proto::PublisherBlockList

Included Modules

Defined in:

cli/proto/facebook/PublisherBlockList.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: :business_owner_id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :is_auto_blocking_on, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :is_eligible_at_campaign_level, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :last_update_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :last_update_user, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :owner_ad_account_id, 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(id : String | Nil = nil, account_id : String | Nil = nil, business_owner_id : String | Nil = nil, is_auto_blocking_on : Bool | Nil = nil, is_eligible_at_campaign_level : Bool | Nil = nil, last_update_time : Datetime | Nil = nil, last_update_user : String | Nil = nil, name : String | Nil = nil, owner_ad_account_id : 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 account_id : String | Nil #

def account_id=(account_id : String | Nil) #

def business_owner_id : String | Nil #

def business_owner_id=(business_owner_id : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def is_auto_blocking_on : Bool | Nil #

def is_auto_blocking_on=(is_auto_blocking_on : Bool | Nil) #

def is_eligible_at_campaign_level : Bool | Nil #

def is_eligible_at_campaign_level=(is_eligible_at_campaign_level : Bool | Nil) #

def last_update_time : Datetime | Nil #

def last_update_time=(last_update_time : Datetime | Nil) #

def last_update_user : String | Nil #

def last_update_user=(last_update_user : String | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def owner_ad_account_id : String | Nil #

def owner_ad_account_id=(owner_ad_account_id : String | Nil) #

def to_hash #

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

def to_protobuf #