Class: Bskyrb::ComAtprotoAdminDefs::ActionViewDetail

Inherits:
Object
  • Object
show all
Defined in:
lib/bskyrb/generated_classes.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#actionObject

Returns the value of attribute action.



1014
1015
1016
# File 'lib/bskyrb/generated_classes.rb', line 1014

def action
  @action
end

#createdAtObject

Returns the value of attribute createdAt.



1028
1029
1030
# File 'lib/bskyrb/generated_classes.rb', line 1028

def createdAt
  @createdAt
end

#createdByObject

Returns the value of attribute createdBy.



1026
1027
1028
# File 'lib/bskyrb/generated_classes.rb', line 1026

def createdBy
  @createdBy
end

#createLabelValsObject

Returns the value of attribute createLabelVals.



1020
1021
1022
# File 'lib/bskyrb/generated_classes.rb', line 1020

def createLabelVals
  @createLabelVals
end

#idObject

Returns the value of attribute id.



1012
1013
1014
# File 'lib/bskyrb/generated_classes.rb', line 1012

def id
  @id
end

#negateLabelValsObject

Returns the value of attribute negateLabelVals.



1022
1023
1024
# File 'lib/bskyrb/generated_classes.rb', line 1022

def negateLabelVals
  @negateLabelVals
end

#reasonObject

Returns the value of attribute reason.



1024
1025
1026
# File 'lib/bskyrb/generated_classes.rb', line 1024

def reason
  @reason
end

#resolvedReportsObject

Returns the value of attribute resolvedReports.



1032
1033
1034
# File 'lib/bskyrb/generated_classes.rb', line 1032

def resolvedReports
  @resolvedReports
end

#reversalObject

Returns the value of attribute reversal.



1030
1031
1032
# File 'lib/bskyrb/generated_classes.rb', line 1030

def reversal
  @reversal
end

#subjectObject

Returns the value of attribute subject.



1016
1017
1018
# File 'lib/bskyrb/generated_classes.rb', line 1016

def subject
  @subject
end

#subjectBlobsObject

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