Class: Bskyrb::ComAtprotoRepoDeleterecord::DeleteRecord::Input
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoRepoDeleterecord::DeleteRecord::Input
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#collection ⇒ Object
Returns the value of attribute collection.
-
#repo ⇒ Object
Returns the value of attribute repo.
-
#rkey ⇒ Object
Returns the value of attribute rkey.
-
#swapCommit ⇒ Object
Returns the value of attribute swapCommit.
-
#swapRecord ⇒ Object
Returns the value of attribute swapRecord.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#collection ⇒ Object
Returns the value of attribute collection.
4635 4636 4637 |
# File 'lib/bskyrb/generated_classes.rb', line 4635 def collection @collection end |
#repo ⇒ Object
Returns the value of attribute repo.
4633 4634 4635 |
# File 'lib/bskyrb/generated_classes.rb', line 4633 def repo @repo end |
#rkey ⇒ Object
Returns the value of attribute rkey.
4637 4638 4639 |
# File 'lib/bskyrb/generated_classes.rb', line 4637 def rkey @rkey end |
#swapCommit ⇒ Object
Returns the value of attribute swapCommit.
4641 4642 4643 |
# File 'lib/bskyrb/generated_classes.rb', line 4641 def swapCommit @swapCommit end |
#swapRecord ⇒ Object
Returns the value of attribute swapRecord.
4639 4640 4641 |
# File 'lib/bskyrb/generated_classes.rb', line 4639 def swapRecord @swapRecord end |
Class Method Details
.from_hash(hash) ⇒ Object
4643 4644 4645 4646 4647 4648 4649 4650 4651 4652 4653 4654 4655 4656 4657 4658 |
# File 'lib/bskyrb/generated_classes.rb', line 4643 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:repo=, hash["repo"]) instance.send(:collection=, hash["collection"]) instance.send(:rkey=, hash["rkey"]) instance.send(:swapRecord=, hash["swapRecord"]) instance.send(:swapCommit=, hash["swapCommit"]) instance end |
Instance Method Details
#to_h ⇒ Object
4660 4661 4662 4663 4664 4665 4666 4667 4668 4669 4670 4671 4672 4673 4674 |
# File 'lib/bskyrb/generated_classes.rb', line 4660 def to_h { "repo" => repo, "collection" => collection, "rkey" => rkey, "swapRecord" => swapRecord, "swapCommit" => swapCommit } end |