Class: Bskyrb::AppBskyActorDefs::ProfileView
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyActorDefs::ProfileView
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#avatar ⇒ Object
Returns the value of attribute avatar.
-
#description ⇒ Object
Returns the value of attribute description.
-
#did ⇒ Object
Returns the value of attribute did.
-
#displayName ⇒ Object
Returns the value of attribute displayName.
-
#handle ⇒ Object
Returns the value of attribute handle.
-
#indexedAt ⇒ Object
Returns the value of attribute indexedAt.
-
#labels ⇒ Object
Returns the value of attribute labels.
-
#viewer ⇒ Object
Returns the value of attribute viewer.
Class Method Summary collapse
Instance Attribute Details
#avatar ⇒ Object
Returns the value of attribute avatar.
48 49 50 |
# File 'lib/bskyrb/generated_classes.rb', line 48 def avatar @avatar end |
#description ⇒ Object
Returns the value of attribute description.
46 47 48 |
# File 'lib/bskyrb/generated_classes.rb', line 46 def description @description end |
#did ⇒ Object
Returns the value of attribute did.
40 41 42 |
# File 'lib/bskyrb/generated_classes.rb', line 40 def did @did end |
#displayName ⇒ Object
Returns the value of attribute displayName.
44 45 46 |
# File 'lib/bskyrb/generated_classes.rb', line 44 def displayName @displayName end |
#handle ⇒ Object
Returns the value of attribute handle.
42 43 44 |
# File 'lib/bskyrb/generated_classes.rb', line 42 def handle @handle end |
#indexedAt ⇒ Object
Returns the value of attribute indexedAt.
50 51 52 |
# File 'lib/bskyrb/generated_classes.rb', line 50 def indexedAt @indexedAt end |
#labels ⇒ Object
Returns the value of attribute labels.
54 55 56 |
# File 'lib/bskyrb/generated_classes.rb', line 54 def labels @labels end |
#viewer ⇒ Object
Returns the value of attribute viewer.
52 53 54 |
# File 'lib/bskyrb/generated_classes.rb', line 52 def viewer @viewer end |
Class Method Details
.from_hash(hash) ⇒ Object
56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 |
# File 'lib/bskyrb/generated_classes.rb', line 56 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:did=, hash["did"]) instance.send(:handle=, hash["handle"]) instance.send(:displayName=, hash["displayName"]) instance.send(:description=, hash["description"]) instance.send(:avatar=, hash["avatar"]) instance.send(:indexedAt=, hash["indexedAt"]) instance.send(:viewer=, hash["viewer"]) instance.send(:labels=, hash["labels"]) instance end |