struct Facebook::Proto::RequestHistory

Included Modules

Defined in:

cli/proto/facebook/RequestHistory.pb.cr

Constant Summary

FIELDS = {1 => {name: :api_version, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 2 => {name: :created_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 3 => {name: :error_code, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 4 => {name: :graph_path, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :http_method, 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

Class Method Summary

Instance Method Summary

Constructor Detail

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

def self.new(api_version : String | Nil = nil, created_time : Datetime | Nil = nil, error_code : Int64 | Nil = nil, graph_path : String | Nil = nil, http_method : String | 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 api_version : String | Nil #

def api_version=(api_version : String | Nil) #

def created_time : Datetime | Nil #

def created_time=(created_time : Datetime | Nil) #

def error_code : Int64 | Nil #

def error_code=(error_code : Int64 | Nil) #

def graph_path : String | Nil #

def graph_path=(graph_path : String | Nil) #

def http_method : String | Nil #

def http_method=(http_method : String | Nil) #

def to_hash #

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

def to_protobuf #