|
"SnapshotValue" | of (Union[bytes, str, "SnapshotValue"] data) |
|
Definition at line 51 of file SnapshotValue.py.
◆ __init__()
selfie_lib.SnapshotValue.SnapshotValueString.__init__ |
( |
|
self, |
|
|
str |
value |
|
) |
| |
Definition at line 52 of file SnapshotValue.py.
52 def __init__(self, value: str):
53 self._value = value
54
◆ __eq__()
bool selfie_lib.SnapshotValue.SnapshotValueString.__eq__ |
( |
|
self, |
|
|
object |
other |
|
) |
| |
Definition at line 61 of file SnapshotValue.py.
61 def __eq__(self, other: object) -> bool:
62 if isinstance(other, SnapshotValueString):
63 return self.value_string() == other.value_string()
64 return False
65
◆ __hash__()
int selfie_lib.SnapshotValue.SnapshotValueString.__hash__ |
( |
|
self | ) |
|
Definition at line 66 of file SnapshotValue.py.
66 def __hash__(self) -> int:
67 return hash(self._value)
◆ value_binary()
bytes selfie_lib.SnapshotValue.SnapshotValueString.value_binary |
( |
|
self | ) |
|
◆ value_string()
str selfie_lib.SnapshotValue.SnapshotValueString.value_string |
( |
|
self | ) |
|
◆ _value
selfie_lib.SnapshotValue.SnapshotValueString._value |
|
protected |
The documentation for this class was generated from the following file: