Class: Bskyrb::AppBskyFeedDefs::PostView
- Inherits:
-
Object
- Object
- Bskyrb::AppBskyFeedDefs::PostView
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#author ⇒ Object
Returns the value of attribute author.
-
#cid ⇒ Object
Returns the value of attribute cid.
-
#embed ⇒ Object
Returns the value of attribute embed.
-
#indexedAt ⇒ Object
Returns the value of attribute indexedAt.
-
#labels ⇒ Object
Returns the value of attribute labels.
-
#likeCount ⇒ Object
Returns the value of attribute likeCount.
-
#record ⇒ Object
Returns the value of attribute record.
-
#replyCount ⇒ Object
Returns the value of attribute replyCount.
-
#repostCount ⇒ Object
Returns the value of attribute repostCount.
-
#uri ⇒ Object
Returns the value of attribute uri.
-
#viewer ⇒ Object
Returns the value of attribute viewer.
Class Method Summary collapse
Instance Attribute Details
#author ⇒ Object
Returns the value of attribute author.
459 460 461 |
# File 'lib/bskyrb/generated_classes.rb', line 459 def end |
#cid ⇒ Object
Returns the value of attribute cid.
457 458 459 |
# File 'lib/bskyrb/generated_classes.rb', line 457 def cid @cid end |
#embed ⇒ Object
Returns the value of attribute embed.
463 464 465 |
# File 'lib/bskyrb/generated_classes.rb', line 463 def end |
#indexedAt ⇒ Object
Returns the value of attribute indexedAt.
471 472 473 |
# File 'lib/bskyrb/generated_classes.rb', line 471 def indexedAt @indexedAt end |
#labels ⇒ Object
Returns the value of attribute labels.
475 476 477 |
# File 'lib/bskyrb/generated_classes.rb', line 475 def labels @labels end |
#likeCount ⇒ Object
Returns the value of attribute likeCount.
469 470 471 |
# File 'lib/bskyrb/generated_classes.rb', line 469 def likeCount @likeCount end |
#record ⇒ Object
Returns the value of attribute record.
461 462 463 |
# File 'lib/bskyrb/generated_classes.rb', line 461 def record @record end |
#replyCount ⇒ Object
Returns the value of attribute replyCount.
465 466 467 |
# File 'lib/bskyrb/generated_classes.rb', line 465 def replyCount @replyCount end |
#repostCount ⇒ Object
Returns the value of attribute repostCount.
467 468 469 |
# File 'lib/bskyrb/generated_classes.rb', line 467 def repostCount @repostCount end |
#uri ⇒ Object
Returns the value of attribute uri.
455 456 457 |
# File 'lib/bskyrb/generated_classes.rb', line 455 def uri @uri end |
#viewer ⇒ Object
Returns the value of attribute viewer.
473 474 475 |
# File 'lib/bskyrb/generated_classes.rb', line 473 def viewer @viewer end |
Class Method Details
.from_hash(hash) ⇒ Object
477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 |
# File 'lib/bskyrb/generated_classes.rb', line 477 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:uri=, hash["uri"]) instance.send(:cid=, hash["cid"]) instance.send(:author=, hash["author"]) instance.send(:record=, hash["record"]) instance.send(:embed=, hash["embed"]) instance.send(:replyCount=, hash["replyCount"]) instance.send(:repostCount=, hash["repostCount"]) instance.send(:likeCount=, hash["likeCount"]) instance.send(:indexedAt=, hash["indexedAt"]) instance.send(:viewer=, hash["viewer"]) instance.send(:labels=, hash["labels"]) instance end |