struct Facebook::Proto::Privacy
- Facebook::Proto::Privacy
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/Privacy.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .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)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #allow : String | Nil
- #allow=(allow : String | Nil)
- #deny : String | Nil
- #deny=(deny : String | Nil)
- #description : String | Nil
- #description=(description : String | Nil)
- #friends : String | Nil
- #friends=(friends : String | Nil)
- #networks : String | Nil
- #networks=(networks : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
- #value : String | Nil
- #value=(value : String | Nil)
Constructor Detail
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)
#