Class: Bskyrb::AppBskyGraphGetlists::GetLists::Input
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyGraphGetlists::GetLists::Input
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#actor ⇒ Object
Returns the value of attribute actor.
-
#cursor ⇒ Object
Returns the value of attribute cursor.
-
#limit ⇒ Object
Returns the value of attribute limit.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#actor ⇒ Object
Returns the value of attribute actor.
3123 3124 3125 |
# File 'lib/bskyrb/generated_classes.rb', line 3123 def actor @actor end |
#cursor ⇒ Object
Returns the value of attribute cursor.
3127 3128 3129 |
# File 'lib/bskyrb/generated_classes.rb', line 3127 def cursor @cursor end |
#limit ⇒ Object
Returns the value of attribute limit.
3125 3126 3127 |
# File 'lib/bskyrb/generated_classes.rb', line 3125 def limit @limit end |
Class Method Details
.from_hash(hash) ⇒ Object
3129 3130 3131 3132 3133 3134 3135 3136 3137 3138 3139 3140 |
# File 'lib/bskyrb/generated_classes.rb', line 3129 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:actor=, hash["actor"]) instance.send(:limit=, hash["limit"]) instance.send(:cursor=, hash["cursor"]) instance end |
Instance Method Details
#to_h ⇒ Object
3142 3143 3144 3145 3146 3147 3148 3149 3150 3151 3152 |
# File 'lib/bskyrb/generated_classes.rb', line 3142 def to_h { "actor" => actor, "limit" => limit, "cursor" => cursor } end |