Class: Bskyrb::ComAtprotoAdminDefs::ActionViewDetail
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoAdminDefs::ActionViewDetail
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#action ⇒ Object
Returns the value of attribute action.
-
#createdAt ⇒ Object
Returns the value of attribute createdAt.
-
#createdBy ⇒ Object
Returns the value of attribute createdBy.
-
#createLabelVals ⇒ Object
Returns the value of attribute createLabelVals.
-
#id ⇒ Object
Returns the value of attribute id.
-
#negateLabelVals ⇒ Object
Returns the value of attribute negateLabelVals.
-
#reason ⇒ Object
Returns the value of attribute reason.
-
#resolvedReports ⇒ Object
Returns the value of attribute resolvedReports.
-
#reversal ⇒ Object
Returns the value of attribute reversal.
-
#subject ⇒ Object
Returns the value of attribute subject.
-
#subjectBlobs ⇒ Object
Returns the value of attribute subjectBlobs.
Class Method Summary collapse
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action.
1014 1015 1016 |
# File 'lib/bskyrb/generated_classes.rb', line 1014 def action @action end |
#createdAt ⇒ Object
Returns the value of attribute createdAt.
1028 1029 1030 |
# File 'lib/bskyrb/generated_classes.rb', line 1028 def createdAt @createdAt end |
#createdBy ⇒ Object
Returns the value of attribute createdBy.
1026 1027 1028 |
# File 'lib/bskyrb/generated_classes.rb', line 1026 def createdBy @createdBy end |
#createLabelVals ⇒ Object
Returns the value of attribute createLabelVals.
1020 1021 1022 |
# File 'lib/bskyrb/generated_classes.rb', line 1020 def createLabelVals @createLabelVals end |
#id ⇒ Object
Returns the value of attribute id.
1012 1013 1014 |
# File 'lib/bskyrb/generated_classes.rb', line 1012 def id @id end |
#negateLabelVals ⇒ Object
Returns the value of attribute negateLabelVals.
1022 1023 1024 |
# File 'lib/bskyrb/generated_classes.rb', line 1022 def negateLabelVals @negateLabelVals end |
#reason ⇒ Object
Returns the value of attribute reason.
1024 1025 1026 |
# File 'lib/bskyrb/generated_classes.rb', line 1024 def reason @reason end |
#resolvedReports ⇒ Object
Returns the value of attribute resolvedReports.
1032 1033 1034 |
# File 'lib/bskyrb/generated_classes.rb', line 1032 def resolvedReports @resolvedReports end |
#reversal ⇒ Object
Returns the value of attribute reversal.
1030 1031 1032 |
# File 'lib/bskyrb/generated_classes.rb', line 1030 def reversal @reversal end |
#subject ⇒ Object
Returns the value of attribute subject.
1016 1017 1018 |
# File 'lib/bskyrb/generated_classes.rb', line 1016 def subject @subject end |
#subjectBlobs ⇒ Object
Returns the value of attribute subjectBlobs.
1018 1019 1020 |
# File 'lib/bskyrb/generated_classes.rb', line 1018 def subjectBlobs @subjectBlobs end |
Class Method Details
.from_hash(hash) ⇒ Object
1034 1035 1036 1037 1038 1039 1040 1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 |
# File 'lib/bskyrb/generated_classes.rb', line 1034 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:id=, hash["id"]) instance.send(:action=, hash["action"]) instance.send(:subject=, hash["subject"]) instance.send(:subjectBlobs=, hash["subjectBlobs"]) instance.send(:createLabelVals=, hash["createLabelVals"]) instance.send(:negateLabelVals=, hash["negateLabelVals"]) instance.send(:reason=, hash["reason"]) instance.send(:createdBy=, hash["createdBy"]) instance.send(:createdAt=, hash["createdAt"]) instance.send(:reversal=, hash["reversal"]) instance.send(:resolvedReports=, hash["resolvedReports"]) instance end |