struct Facebook::Proto::AudiencePermissionForActions
- Facebook::Proto::AudiencePermissionForActions
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/AudiencePermissionForActions.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .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)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #can_edit : Bool | Nil
- #can_edit=(can_edit : Bool | Nil)
- #can_see_insight : Bool | Nil
- #can_see_insight=(can_see_insight : Bool | Nil)
- #can_share : Bool | Nil
- #can_share=(can_share : Bool | Nil)
- #subtype_supports_lookalike : Bool | Nil
- #subtype_supports_lookalike=(subtype_supports_lookalike : Bool | Nil)
- #supports_recipient_lookalike : Bool | Nil
- #supports_recipient_lookalike=(supports_recipient_lookalike : Bool | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf