Class: Bskyrb::ComAtprotoAdminDefs::ReportViewDetail
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoAdminDefs::ReportViewDetail
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#createdAt ⇒ Object
Returns the value of attribute createdAt.
-
#id ⇒ Object
Returns the value of attribute id.
-
#reason ⇒ Object
Returns the value of attribute reason.
-
#reasonType ⇒ Object
Returns the value of attribute reasonType.
-
#reportedBy ⇒ Object
Returns the value of attribute reportedBy.
-
#resolvedByActions ⇒ Object
Returns the value of attribute resolvedByActions.
-
#subject ⇒ Object
Returns the value of attribute subject.
Class Method Summary collapse
Instance Attribute Details
#createdAt ⇒ Object
Returns the value of attribute createdAt.
1203 1204 1205 |
# File 'lib/bskyrb/generated_classes.rb', line 1203 def createdAt @createdAt end |
#id ⇒ Object
Returns the value of attribute id.
1193 1194 1195 |
# File 'lib/bskyrb/generated_classes.rb', line 1193 def id @id end |
#reason ⇒ Object
Returns the value of attribute reason.
1197 1198 1199 |
# File 'lib/bskyrb/generated_classes.rb', line 1197 def reason @reason end |
#reasonType ⇒ Object
Returns the value of attribute reasonType.
1195 1196 1197 |
# File 'lib/bskyrb/generated_classes.rb', line 1195 def reasonType @reasonType end |
#reportedBy ⇒ Object
Returns the value of attribute reportedBy.
1201 1202 1203 |
# File 'lib/bskyrb/generated_classes.rb', line 1201 def reportedBy @reportedBy end |
#resolvedByActions ⇒ Object
Returns the value of attribute resolvedByActions.
1205 1206 1207 |
# File 'lib/bskyrb/generated_classes.rb', line 1205 def resolvedByActions @resolvedByActions end |
#subject ⇒ Object
Returns the value of attribute subject.
1199 1200 1201 |
# File 'lib/bskyrb/generated_classes.rb', line 1199 def subject @subject end |
Class Method Details
.from_hash(hash) ⇒ Object
1207 1208 1209 1210 1211 1212 1213 1214 1215 1216 1217 1218 1219 1220 1221 1222 1223 1224 1225 1226 |
# File 'lib/bskyrb/generated_classes.rb', line 1207 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:id=, hash["id"]) instance.send(:reasonType=, hash["reasonType"]) instance.send(:reason=, hash["reason"]) instance.send(:subject=, hash["subject"]) instance.send(:reportedBy=, hash["reportedBy"]) instance.send(:createdAt=, hash["createdAt"]) instance.send(:resolvedByActions=, hash["resolvedByActions"]) instance end |