Class: Bskyrb::AppBskyGraphGetlist::GetList::Input
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyGraphGetlist::GetList::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.
-
#list ⇒ Object
Returns the value of attribute list.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#cursor ⇒ Object
Returns the value of attribute cursor.
2999 3000 3001 |
# File 'lib/bskyrb/generated_classes.rb', line 2999 def cursor @cursor end |
#limit ⇒ Object
Returns the value of attribute limit.
2997 2998 2999 |
# File 'lib/bskyrb/generated_classes.rb', line 2997 def limit @limit end |
#list ⇒ Object
Returns the value of attribute list.
2995 2996 2997 |
# File 'lib/bskyrb/generated_classes.rb', line 2995 def list @list end |
Class Method Details
.from_hash(hash) ⇒ Object
3001 3002 3003 3004 3005 3006 3007 3008 3009 3010 3011 3012 |
# File 'lib/bskyrb/generated_classes.rb', line 3001 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:list=, hash["list"]) instance.send(:limit=, hash["limit"]) instance.send(:cursor=, hash["cursor"]) instance end |
Instance Method Details
#to_h ⇒ Object
3014 3015 3016 3017 3018 3019 3020 3021 3022 3023 3024 |
# File 'lib/bskyrb/generated_classes.rb', line 3014 def to_h { "list" => list, "limit" => limit, "cursor" => cursor } end |