Class: Bskyrb::AppBskyNotificationListnotifications::Notification
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyNotificationListnotifications::Notification
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#author ⇒ Object
Returns the value of attribute author.
-
#cid ⇒ Object
Returns the value of attribute cid.
-
#indexedAt ⇒ Object
Returns the value of attribute indexedAt.
-
#isRead ⇒ Object
Returns the value of attribute isRead.
-
#labels ⇒ Object
Returns the value of attribute labels.
-
#reason ⇒ Object
Returns the value of attribute reason.
-
#reasonSubject ⇒ Object
Returns the value of attribute reasonSubject.
-
#record ⇒ Object
Returns the value of attribute record.
-
#uri ⇒ Object
Returns the value of attribute uri.
Class Method Summary collapse
Instance Attribute Details
#author ⇒ Object
Returns the value of attribute author.
865 866 867 |
# File 'lib/bskyrb/generated_classes.rb', line 865 def end |
#cid ⇒ Object
Returns the value of attribute cid.
863 864 865 |
# File 'lib/bskyrb/generated_classes.rb', line 863 def cid @cid end |
#indexedAt ⇒ Object
Returns the value of attribute indexedAt.
875 876 877 |
# File 'lib/bskyrb/generated_classes.rb', line 875 def indexedAt @indexedAt end |
#isRead ⇒ Object
Returns the value of attribute isRead.
873 874 875 |
# File 'lib/bskyrb/generated_classes.rb', line 873 def isRead @isRead end |
#labels ⇒ Object
Returns the value of attribute labels.
877 878 879 |
# File 'lib/bskyrb/generated_classes.rb', line 877 def labels @labels end |
#reason ⇒ Object
Returns the value of attribute reason.
867 868 869 |
# File 'lib/bskyrb/generated_classes.rb', line 867 def reason @reason end |
#reasonSubject ⇒ Object
Returns the value of attribute reasonSubject.
869 870 871 |
# File 'lib/bskyrb/generated_classes.rb', line 869 def reasonSubject @reasonSubject end |
#record ⇒ Object
Returns the value of attribute record.
871 872 873 |
# File 'lib/bskyrb/generated_classes.rb', line 871 def record @record end |
#uri ⇒ Object
Returns the value of attribute uri.
861 862 863 |
# File 'lib/bskyrb/generated_classes.rb', line 861 def uri @uri end |
Class Method Details
.from_hash(hash) ⇒ Object
879 880 881 882 883 884 885 886 887 888 889 890 891 892 893 894 895 896 897 898 899 900 901 902 |
# File 'lib/bskyrb/generated_classes.rb', line 879 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:uri=, hash["uri"]) instance.send(:cid=, hash["cid"]) instance.send(:author=, hash["author"]) instance.send(:reason=, hash["reason"]) instance.send(:reasonSubject=, hash["reasonSubject"]) instance.send(:record=, hash["record"]) instance.send(:isRead=, hash["isRead"]) instance.send(:indexedAt=, hash["indexedAt"]) instance.send(:labels=, hash["labels"]) instance end |