Class: Bskyrb::AppBskyFeedGettimeline::GetTimeline::Input
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyFeedGettimeline::GetTimeline::Input
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#algorithm ⇒ Object
Returns the value of attribute algorithm.
-
#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
#algorithm ⇒ Object
Returns the value of attribute algorithm.
2733 2734 2735 |
# File 'lib/bskyrb/generated_classes.rb', line 2733 def algorithm @algorithm end |
#cursor ⇒ Object
Returns the value of attribute cursor.
2737 2738 2739 |
# File 'lib/bskyrb/generated_classes.rb', line 2737 def cursor @cursor end |
#limit ⇒ Object
Returns the value of attribute limit.
2735 2736 2737 |
# File 'lib/bskyrb/generated_classes.rb', line 2735 def limit @limit end |
Class Method Details
.from_hash(hash) ⇒ Object
2739 2740 2741 2742 2743 2744 2745 2746 2747 2748 2749 2750 |
# File 'lib/bskyrb/generated_classes.rb', line 2739 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:algorithm=, hash["algorithm"]) instance.send(:limit=, hash["limit"]) instance.send(:cursor=, hash["cursor"]) instance end |
Instance Method Details
#to_h ⇒ Object
2752 2753 2754 2755 2756 2757 2758 2759 2760 2761 2762 |
# File 'lib/bskyrb/generated_classes.rb', line 2752 def to_h { "algorithm" => algorithm, "limit" => limit, "cursor" => cursor } end |