struct Facebook::Proto::BrandSafetyBlockListUsage
- Facebook::Proto::BrandSafetyBlockListUsage
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/BrandSafetyBlockListUsage.pb.crConstant Summary
-
FIELDS =
{1 => {name: :current_usage, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :new_usage, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :platform, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :position, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :threshold, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, 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(current_usage : Int64 | Nil = nil, new_usage : Int64 | Nil = nil, platform : String | Nil = nil, position : String | Nil = nil, threshold : Int64 | Nil = nil)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #current_usage : Int64 | Nil
- #current_usage=(current_usage : Int64 | Nil)
- #new_usage : Int64 | Nil
- #new_usage=(new_usage : Int64 | Nil)
- #platform : String | Nil
- #platform=(platform : String | Nil)
- #position : String | Nil
- #position=(position : String | Nil)
- #threshold : Int64 | Nil
- #threshold=(threshold : Int64 | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
def self.new(current_usage : Int64 | Nil = nil, new_usage : Int64 | Nil = nil, platform : String | Nil = nil, position : String | Nil = nil, threshold : Int64 | Nil = nil)
#