struct Facebook::Proto::AudiencePermissionForActions

Included Modules

Defined in:

cli/proto/facebook/AudiencePermissionForActions.pb.cr

Constant Summary

FIELDS = {1 => {name: :can_edit, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :can_see_insight, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :can_share, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :subtype_supports_lookalike, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :supports_recipient_lookalike, pb_type: :bool, crystal_type: Bool, cast_type: Bool?, 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(can_edit : Bool | Nil = nil, can_see_insight : Bool | Nil = nil, can_share : Bool | Nil = nil, subtype_supports_lookalike : Bool | Nil = nil, supports_recipient_lookalike : Bool | 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 can_edit : Bool | Nil #

def can_edit=(can_edit : Bool | Nil) #

def can_see_insight : Bool | Nil #

def can_see_insight=(can_see_insight : Bool | Nil) #

def can_share : Bool | Nil #

def can_share=(can_share : Bool | Nil) #

def subtype_supports_lookalike : Bool | Nil #

def subtype_supports_lookalike=(subtype_supports_lookalike : Bool | Nil) #

def supports_recipient_lookalike : Bool | Nil #

def supports_recipient_lookalike=(supports_recipient_lookalike : Bool | Nil) #

def to_hash #

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

def to_protobuf #