Method: Bskyrb::ComAtprotoRepoListrecords::ListRecords::Input.from_hash

Defined in:
lib/bskyrb/generated_classes.rb

.from_hash(hash) ⇒ Object



4842
4843
4844
4845
4846
4847
4848
4849
4850
4851
4852
4853
4854
4855
4856
4857
4858
4859
4860
4861
# File 'lib/bskyrb/generated_classes.rb', line 4842

def self.from_hash(hash)
  # httparty-returned string-keyed hash
  instance = new

  instance.send(:repo=, hash["repo"])

  instance.send(:collection=, hash["collection"])

  instance.send(:limit=, hash["limit"])

  instance.send(:cursor=, hash["cursor"])

  instance.send(:rkeyStart=, hash["rkeyStart"])

  instance.send(:rkeyEnd=, hash["rkeyEnd"])

  instance.send(:reverse=, hash["reverse"])

  instance
end