struct Facebook::Proto::ProductFeedUploadError

Included Modules

Defined in:

cli/proto/facebook/ProductFeedUploadError.pb.cr

Constant Summary

FIELDS = {1 => {name: :id, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :affected_surfaces, pb_type: :string, crystal_type: String, cast_type: Array(String)?, native: true, optional: true, repeated: true, 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: :error_type, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :severity, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :summary, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :total_count, 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(id : String | Nil = nil, affected_surfaces : Array(String) | Nil = nil, description : String | Nil = nil, error_type : String | Nil = nil, severity : String | Nil = nil, summary : String | Nil = nil, total_count : 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 affected_surfaces : Array(String) | Nil #

def affected_surfaces=(affected_surfaces : Array(String) | Nil) #

def affected_surfaces=(affected_surfaces : Array(String) | Nil) #

def description : String | Nil #

def description=(description : String | Nil) #

def error_type : String | Nil #

def error_type=(error_type : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def severity : String | Nil #

def severity=(severity : String | Nil) #

def summary : String | Nil #

def summary=(summary : String | Nil) #

def to_hash #

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

def to_protobuf #

def total_count : Int64 | Nil #

def total_count=(total_count : Int64 | Nil) #