struct Facebook::Proto::RequestHistory
- Facebook::Proto::RequestHistory
- Struct
- Value
- Object
Included Modules
- JSON::Serializable
- Protobuf::Message
Defined in:
cli/proto/facebook/RequestHistory.pb.crConstant 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
- .new(buf : Protobuf::Buffer)
- .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)
- .new(pull : JSON::PullParser)
Class Method Summary
Instance Method Summary
- #[](key : String)
- #[]=(key : String, val)
- #[]?(key : String)
- #api_version : String | Nil
- #api_version=(api_version : String | Nil)
- #created_time : Datetime | Nil
- #created_time=(created_time : Datetime | Nil)
- #error_code : Int64 | Nil
- #error_code=(error_code : Int64 | Nil)
- #graph_path : String | Nil
- #graph_path=(graph_path : String | Nil)
- #http_method : String | Nil
- #http_method=(http_method : String | Nil)
- #to_hash
- #to_protobuf(io : IO, embedded = false)
- #to_protobuf
Constructor Detail
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)
#