struct Facebook::Proto::Privacy

Included Modules

Defined in:

cli/proto/facebook/Privacy.pb.cr

Constant Summary

FIELDS = {1 => {name: :allow, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :deny, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :description, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :friends, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :networks, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :value, 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(allow : String | Nil = nil, deny : String | Nil = nil, description : String | Nil = nil, friends : String | Nil = nil, networks : String | Nil = nil, value : 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 allow : String | Nil #

def allow=(allow : String | Nil) #

def deny : String | Nil #

def deny=(deny : String | Nil) #

def description : String | Nil #

def description=(description : String | Nil) #

def friends : String | Nil #

def friends=(friends : String | Nil) #

def networks : String | Nil #

def networks=(networks : String | Nil) #

def to_hash #

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

def to_protobuf #

def value : String | Nil #

def value=(value : String | Nil) #