struct Facebook::Proto::AsyncSession

Included Modules

Defined in:

cli/proto/facebook/AsyncSession.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: :complete_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: :exception, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 5 => {name: :method, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 6 => {name: :name, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 7 => {name: :percent_completed, pb_type: :int64, crystal_type: Int64, cast_type: Int64?, native: true, optional: true, repeated: false, default: nil, packed: false}, 8 => {name: :platform_version, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 9 => {name: :result, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 10 => {name: :start_time, pb_type: Datetime, crystal_type: Datetime, cast_type: Datetime?, native: false, optional: true, repeated: false, default: nil, packed: false}, 11 => {name: :status, pb_type: :string, crystal_type: String, cast_type: String?, native: true, optional: true, repeated: false, default: nil, packed: false}, 12 => {name: :uri, 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(id : String | Nil = nil, complete_time : Datetime | Nil = nil, error_code : Int64 | Nil = nil, exception : String | Nil = nil, method : String | Nil = nil, name : String | Nil = nil, percent_completed : Int64 | Nil = nil, platform_version : String | Nil = nil, result : String | Nil = nil, start_time : Datetime | Nil = nil, status : String | Nil = nil, uri : 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 complete_time : Datetime | Nil #

def complete_time=(complete_time : Datetime | Nil) #

def error_code : Int64 | Nil #

def error_code=(error_code : Int64 | Nil) #

def exception : String | Nil #

def exception=(exception : String | Nil) #

def id : String | Nil #

def id=(id : String | Nil) #

def method : String | Nil #

def method=(method : String | Nil) #

def name : String | Nil #

def name=(name : String | Nil) #

def percent_completed : Int64 | Nil #

def percent_completed=(percent_completed : Int64 | Nil) #

def platform_version : String | Nil #

def platform_version=(platform_version : String | Nil) #

def result : String | Nil #

def result=(result : String | Nil) #

def start_time : Datetime | Nil #

def start_time=(start_time : Datetime | Nil) #

def status : String | Nil #

def status=(status : String | Nil) #

def to_hash #

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

def to_protobuf #

def uri : String | Nil #

def uri=(uri : String | Nil) #