Class: Bskyrb::AppBskyUnspeccedGetpopular::GetPopular::Input
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyUnspeccedGetpopular::GetPopular::Input
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#cursor ⇒ Object
Returns the value of attribute cursor.
-
#includeNsfw ⇒ Object
Returns the value of attribute includeNsfw.
-
#limit ⇒ Object
Returns the value of attribute limit.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#cursor ⇒ Object
Returns the value of attribute cursor.
3484 3485 3486 |
# File 'lib/bskyrb/generated_classes.rb', line 3484 def cursor @cursor end |
#includeNsfw ⇒ Object
Returns the value of attribute includeNsfw.
3480 3481 3482 |
# File 'lib/bskyrb/generated_classes.rb', line 3480 def includeNsfw @includeNsfw end |
#limit ⇒ Object
Returns the value of attribute limit.
3482 3483 3484 |
# File 'lib/bskyrb/generated_classes.rb', line 3482 def limit @limit end |
Class Method Details
.from_hash(hash) ⇒ Object
3486 3487 3488 3489 3490 3491 3492 3493 3494 3495 3496 3497 |
# File 'lib/bskyrb/generated_classes.rb', line 3486 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:includeNsfw=, hash["includeNsfw"]) instance.send(:limit=, hash["limit"]) instance.send(:cursor=, hash["cursor"]) instance end |
Instance Method Details
#to_h ⇒ Object
3499 3500 3501 3502 3503 3504 3505 3506 3507 3508 3509 |
# File 'lib/bskyrb/generated_classes.rb', line 3499 def to_h { "includeNsfw" => includeNsfw, "limit" => limit, "cursor" => cursor } end |