Class: Bskyrb::ComAtprotoAdminGetmoderationaction::GetModerationAction::Input
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoAdminGetmoderationaction::GetModerationAction::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.
3689 3690 3691 |
# File 'lib/bskyrb/generated_classes.rb', line 3689 def id @id end |
Class Method Details
.from_hash(hash) ⇒ Object
3691 3692 3693 3694 3695 3696 3697 3698 |
# File 'lib/bskyrb/generated_classes.rb', line 3691 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
3700 3701 3702 3703 3704 3705 3706 |
# File 'lib/bskyrb/generated_classes.rb', line 3700 def to_h { "id" => id } end |