Class: Bskyrb::AppBskyActorDefs::ProfileViewDetailed
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyActorDefs::ProfileViewDetailed
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#avatar ⇒ Object
Returns the value of attribute avatar.
-
#banner ⇒ Object
Returns the value of attribute banner.
-
#description ⇒ Object
Returns the value of attribute description.
-
#did ⇒ Object
Returns the value of attribute did.
-
#displayName ⇒ Object
Returns the value of attribute displayName.
-
#followersCount ⇒ Object
Returns the value of attribute followersCount.
-
#followsCount ⇒ Object
Returns the value of attribute followsCount.
-
#handle ⇒ Object
Returns the value of attribute handle.
-
#indexedAt ⇒ Object
Returns the value of attribute indexedAt.
-
#labels ⇒ Object
Returns the value of attribute labels.
-
#postsCount ⇒ Object
Returns the value of attribute postsCount.
-
#viewer ⇒ Object
Returns the value of attribute viewer.
Class Method Summary collapse
Instance Attribute Details
#avatar ⇒ Object
Returns the value of attribute avatar.
91 92 93 |
# File 'lib/bskyrb/generated_classes.rb', line 91 def avatar @avatar end |
#banner ⇒ Object
Returns the value of attribute banner.
93 94 95 |
# File 'lib/bskyrb/generated_classes.rb', line 93 def end |
#description ⇒ Object
Returns the value of attribute description.
89 90 91 |
# File 'lib/bskyrb/generated_classes.rb', line 89 def description @description end |
#did ⇒ Object
Returns the value of attribute did.
83 84 85 |
# File 'lib/bskyrb/generated_classes.rb', line 83 def did @did end |
#displayName ⇒ Object
Returns the value of attribute displayName.
87 88 89 |
# File 'lib/bskyrb/generated_classes.rb', line 87 def displayName @displayName end |
#followersCount ⇒ Object
Returns the value of attribute followersCount.
95 96 97 |
# File 'lib/bskyrb/generated_classes.rb', line 95 def followersCount @followersCount end |
#followsCount ⇒ Object
Returns the value of attribute followsCount.
97 98 99 |
# File 'lib/bskyrb/generated_classes.rb', line 97 def followsCount @followsCount end |
#handle ⇒ Object
Returns the value of attribute handle.
85 86 87 |
# File 'lib/bskyrb/generated_classes.rb', line 85 def handle @handle end |
#indexedAt ⇒ Object
Returns the value of attribute indexedAt.
101 102 103 |
# File 'lib/bskyrb/generated_classes.rb', line 101 def indexedAt @indexedAt end |
#labels ⇒ Object
Returns the value of attribute labels.
105 106 107 |
# File 'lib/bskyrb/generated_classes.rb', line 105 def labels @labels end |
#postsCount ⇒ Object
Returns the value of attribute postsCount.
99 100 101 |
# File 'lib/bskyrb/generated_classes.rb', line 99 def postsCount @postsCount end |
#viewer ⇒ Object
Returns the value of attribute viewer.
103 104 105 |
# File 'lib/bskyrb/generated_classes.rb', line 103 def viewer @viewer end |
Class Method Details
.from_hash(hash) ⇒ Object
107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 |
# File 'lib/bskyrb/generated_classes.rb', line 107 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(:banner=, hash["banner"]) instance.send(:followersCount=, hash["followersCount"]) instance.send(:followsCount=, hash["followsCount"]) instance.send(:postsCount=, hash["postsCount"]) instance.send(:indexedAt=, hash["indexedAt"]) instance.send(:viewer=, hash["viewer"]) instance.send(:labels=, hash["labels"]) instance end |