struct Facebook::Proto::BrandSafetyBlockListUsage

Included Modules

Defined in:

cli/proto/facebook/BrandSafetyBlockListUsage.pb.cr

Constant 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

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(buf : Protobuf::Buffer) #

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) #

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 current_usage : Int64 | Nil #

def current_usage=(current_usage : Int64 | Nil) #

def new_usage : Int64 | Nil #

def new_usage=(new_usage : Int64 | Nil) #

def platform : String | Nil #

def platform=(platform : String | Nil) #

def position : String | Nil #

def position=(position : String | Nil) #

def threshold : Int64 | Nil #

def threshold=(threshold : Int64 | Nil) #

def to_hash #

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

def to_protobuf #