Class: Bskyrb::ComAtprotoAdminGetmoderationreport::GetModerationReport::Input
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoAdminGetmoderationreport::GetModerationReport::Input
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#id ⇒ Object
Returns the value of attribute id.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#id ⇒ Object
Returns the value of attribute id.
3789 3790 3791 |
# File 'lib/bskyrb/generated_classes.rb', line 3789 def id @id end |
Class Method Details
.from_hash(hash) ⇒ Object
3791 3792 3793 3794 3795 3796 3797 3798 |
# File 'lib/bskyrb/generated_classes.rb', line 3791 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:id=, hash["id"]) instance end |
Instance Method Details
#to_h ⇒ Object
3800 3801 3802 3803 3804 3805 3806 |
# File 'lib/bskyrb/generated_classes.rb', line 3800 def to_h { "id" => id } end |