Class: Bskyrb::ComAtprotoAdminDefs::ActionView
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoAdminDefs::ActionView
- 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.
-
#resolvedReportIds ⇒ Object
Returns the value of attribute resolvedReportIds.
-
#reversal ⇒ Object
Returns the value of attribute reversal.
-
#subject ⇒ Object
Returns the value of attribute subject.
-
#subjectBlobCids ⇒ Object
Returns the value of attribute subjectBlobCids.
Class Method Summary collapse
Instance Attribute Details
#action ⇒ Object
Returns the value of attribute action.
959 960 961 |
# File 'lib/bskyrb/generated_classes.rb', line 959 def action @action end |
#createdAt ⇒ Object
Returns the value of attribute createdAt.
973 974 975 |
# File 'lib/bskyrb/generated_classes.rb', line 973 def createdAt @createdAt end |
#createdBy ⇒ Object
Returns the value of attribute createdBy.
971 972 973 |
# File 'lib/bskyrb/generated_classes.rb', line 971 def createdBy @createdBy end |
#createLabelVals ⇒ Object
Returns the value of attribute createLabelVals.
965 966 967 |
# File 'lib/bskyrb/generated_classes.rb', line 965 def createLabelVals @createLabelVals end |
#id ⇒ Object
Returns the value of attribute id.
957 958 959 |
# File 'lib/bskyrb/generated_classes.rb', line 957 def id @id end |
#negateLabelVals ⇒ Object
Returns the value of attribute negateLabelVals.
967 968 969 |
# File 'lib/bskyrb/generated_classes.rb', line 967 def negateLabelVals @negateLabelVals end |
#reason ⇒ Object
Returns the value of attribute reason.
969 970 971 |
# File 'lib/bskyrb/generated_classes.rb', line 969 def reason @reason end |
#resolvedReportIds ⇒ Object
Returns the value of attribute resolvedReportIds.
977 978 979 |
# File 'lib/bskyrb/generated_classes.rb', line 977 def resolvedReportIds @resolvedReportIds end |
#reversal ⇒ Object
Returns the value of attribute reversal.
975 976 977 |
# File 'lib/bskyrb/generated_classes.rb', line 975 def reversal @reversal end |
#subject ⇒ Object
Returns the value of attribute subject.
961 962 963 |
# File 'lib/bskyrb/generated_classes.rb', line 961 def subject @subject end |
#subjectBlobCids ⇒ Object
Returns the value of attribute subjectBlobCids.
963 964 965 |
# File 'lib/bskyrb/generated_classes.rb', line 963 def subjectBlobCids @subjectBlobCids end |
Class Method Details
.from_hash(hash) ⇒ Object
979 980 981 982 983 984 985 986 987 988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 |
# File 'lib/bskyrb/generated_classes.rb', line 979 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(:subjectBlobCids=, hash["subjectBlobCids"]) 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(:resolvedReportIds=, hash["resolvedReportIds"]) instance end |