Class: Bskyrb::ComAtprotoAdminResolvemoderationreports::ResolveModerationReports::Input
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoAdminResolvemoderationreports::ResolveModerationReports::Input
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#actionId ⇒ Object
Returns the value of attribute actionId.
-
#createdBy ⇒ Object
Returns the value of attribute createdBy.
-
#reportIds ⇒ Object
Returns the value of attribute reportIds.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#actionId ⇒ Object
Returns the value of attribute actionId.
3979 3980 3981 |
# File 'lib/bskyrb/generated_classes.rb', line 3979 def actionId @actionId end |
#createdBy ⇒ Object
Returns the value of attribute createdBy.
3983 3984 3985 |
# File 'lib/bskyrb/generated_classes.rb', line 3983 def createdBy @createdBy end |
#reportIds ⇒ Object
Returns the value of attribute reportIds.
3981 3982 3983 |
# File 'lib/bskyrb/generated_classes.rb', line 3981 def reportIds @reportIds end |
Class Method Details
.from_hash(hash) ⇒ Object
3985 3986 3987 3988 3989 3990 3991 3992 3993 3994 3995 3996 |
# File 'lib/bskyrb/generated_classes.rb', line 3985 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:actionId=, hash["actionId"]) instance.send(:reportIds=, hash["reportIds"]) instance.send(:createdBy=, hash["createdBy"]) instance end |
Instance Method Details
#to_h ⇒ Object
3998 3999 4000 4001 4002 4003 4004 4005 4006 4007 4008 |
# File 'lib/bskyrb/generated_classes.rb', line 3998 def to_h { "actionId" => actionId, "reportIds" => reportIds, "createdBy" => createdBy } end |