Class: Bskyrb::AppBskyGraphGetmutes::GetMutes::Input
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyGraphGetmutes::GetMutes::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.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#cursor ⇒ Object
Returns the value of attribute cursor.
3189 3190 3191 |
# File 'lib/bskyrb/generated_classes.rb', line 3189 def cursor @cursor end |
#limit ⇒ Object
Returns the value of attribute limit.
3187 3188 3189 |
# File 'lib/bskyrb/generated_classes.rb', line 3187 def limit @limit end |
Class Method Details
.from_hash(hash) ⇒ Object
3191 3192 3193 3194 3195 3196 3197 3198 3199 3200 |
# File 'lib/bskyrb/generated_classes.rb', line 3191 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:limit=, hash["limit"]) instance.send(:cursor=, hash["cursor"]) instance end |
Instance Method Details
#to_h ⇒ Object
3202 3203 3204 3205 3206 3207 3208 3209 3210 |
# File 'lib/bskyrb/generated_classes.rb', line 3202 def to_h { "limit" => limit, "cursor" => cursor } end |