Class: Bskyrb::ComAtprotoAdminGetmoderationactions::GetModerationActions::Input
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoAdminGetmoderationactions::GetModerationActions::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.
-
#subject ⇒ Object
Returns the value of attribute subject.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#cursor ⇒ Object
Returns the value of attribute cursor.
3729 3730 3731 |
# File 'lib/bskyrb/generated_classes.rb', line 3729 def cursor @cursor end |
#limit ⇒ Object
Returns the value of attribute limit.
3727 3728 3729 |
# File 'lib/bskyrb/generated_classes.rb', line 3727 def limit @limit end |
#subject ⇒ Object
Returns the value of attribute subject.
3725 3726 3727 |
# File 'lib/bskyrb/generated_classes.rb', line 3725 def subject @subject end |
Class Method Details
.from_hash(hash) ⇒ Object
3731 3732 3733 3734 3735 3736 3737 3738 3739 3740 3741 3742 |
# File 'lib/bskyrb/generated_classes.rb', line 3731 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:subject=, hash["subject"]) instance.send(:limit=, hash["limit"]) instance.send(:cursor=, hash["cursor"]) instance end |
Instance Method Details
#to_h ⇒ Object
3744 3745 3746 3747 3748 3749 3750 3751 3752 3753 3754 |
# File 'lib/bskyrb/generated_classes.rb', line 3744 def to_h { "subject" => subject, "limit" => limit, "cursor" => cursor } end |