class TwentyFiveLivePro::Models::ErrorsResponse
- TwentyFiveLivePro::Models::ErrorsResponse
- Reference
- Object
Included Modules
- JSON::Serializable
Defined in:
twenty-five-live-pro/models/errors_response.crConstructors
Instance Method Summary
- #error_num : String
- #error_num=(error_num : String)
- #message : String
- #message=(message : String)
-
#object_id : Int64 | Nil
Returns a
UInt64
that uniquely identifies this object. - #object_id=(object_id : Int64 | Nil)
- #object_name : String | Nil
- #object_name=(object_name : String | Nil)
- #object_type : Int64 | Nil
- #object_type=(object_type : Int64 | Nil)
- #reason : String
- #reason=(reason : String)
Constructor Detail
Instance Method Detail
def object_id : Int64 | Nil
#
Description copied from class Reference
Returns a UInt64
that uniquely identifies this object.
The returned value is the memory address of this object.
string = "hello"
string.object_id # => 4460249568
pointer = Pointer(String).new(string.object_id)
string2 = pointer.as(String)
string2.object_id == string.object_id # => true