Class: Bskyrb::ComAtprotoAdminGetmoderationreports::GetModerationReports::Input
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoAdminGetmoderationreports::GetModerationReports::Input
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#actionType ⇒ Object
Returns the value of attribute actionType.
-
#cursor ⇒ Object
Returns the value of attribute cursor.
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#resolved ⇒ Object
Returns the value of attribute resolved.
-
#subject ⇒ Object
Returns the value of attribute subject.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#actionType ⇒ Object
Returns the value of attribute actionType.
3829 3830 3831 |
# File 'lib/bskyrb/generated_classes.rb', line 3829 def actionType @actionType end |
#cursor ⇒ Object
Returns the value of attribute cursor.
3833 3834 3835 |
# File 'lib/bskyrb/generated_classes.rb', line 3833 def cursor @cursor end |
#limit ⇒ Object
Returns the value of attribute limit.
3831 3832 3833 |
# File 'lib/bskyrb/generated_classes.rb', line 3831 def limit @limit end |
#resolved ⇒ Object
Returns the value of attribute resolved.
3827 3828 3829 |
# File 'lib/bskyrb/generated_classes.rb', line 3827 def resolved @resolved end |
#subject ⇒ Object
Returns the value of attribute subject.
3825 3826 3827 |
# File 'lib/bskyrb/generated_classes.rb', line 3825 def subject @subject end |
Class Method Details
.from_hash(hash) ⇒ Object
3835 3836 3837 3838 3839 3840 3841 3842 3843 3844 3845 3846 3847 3848 3849 3850 |
# File 'lib/bskyrb/generated_classes.rb', line 3835 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:subject=, hash["subject"]) instance.send(:resolved=, hash["resolved"]) instance.send(:actionType=, hash["actionType"]) instance.send(:limit=, hash["limit"]) instance.send(:cursor=, hash["cursor"]) instance end |
Instance Method Details
#to_h ⇒ Object
3852 3853 3854 3855 3856 3857 3858 3859 3860 3861 3862 3863 3864 3865 3866 |
# File 'lib/bskyrb/generated_classes.rb', line 3852 def to_h { "subject" => subject, "resolved" => resolved, "actionType" => actionType, "limit" => limit, "cursor" => cursor } end |