Class: Bskyrb::AppBskyNotificationListnotifications::ListNotifications::Input
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyNotificationListnotifications::ListNotifications::Input
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#cursor ⇒ Object
Returns the value of attribute cursor.
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#seenAt ⇒ Object
Returns the value of attribute seenAt.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#cursor ⇒ Object
Returns the value of attribute cursor.
3393 3394 3395 |
# File 'lib/bskyrb/generated_classes.rb', line 3393 def cursor @cursor end |
#limit ⇒ Object
Returns the value of attribute limit.
3391 3392 3393 |
# File 'lib/bskyrb/generated_classes.rb', line 3391 def limit @limit end |
#seenAt ⇒ Object
Returns the value of attribute seenAt.
3395 3396 3397 |
# File 'lib/bskyrb/generated_classes.rb', line 3395 def seenAt @seenAt end |
Class Method Details
.from_hash(hash) ⇒ Object
3397 3398 3399 3400 3401 3402 3403 3404 3405 3406 3407 3408 |
# File 'lib/bskyrb/generated_classes.rb', line 3397 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:limit=, hash["limit"]) instance.send(:cursor=, hash["cursor"]) instance.send(:seenAt=, hash["seenAt"]) instance end |
Instance Method Details
#to_h ⇒ Object
3410 3411 3412 3413 3414 3415 3416 3417 3418 3419 3420 |
# File 'lib/bskyrb/generated_classes.rb', line 3410 def to_h { "limit" => limit, "cursor" => cursor, "seenAt" => seenAt } end |