Class: Bskyrb::ComAtprotoRepoListrecords::ListRecords::Input

Inherits:
Object
  • Object
show all
Defined in:
lib/bskyrb/generated_classes.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#collectionObject

Returns the value of attribute collection.



4830
4831
4832
# File 'lib/bskyrb/generated_classes.rb', line 4830

def collection
  @collection
end

#cursorObject

Returns the value of attribute cursor.



4834
4835
4836
# File 'lib/bskyrb/generated_classes.rb', line 4834

def cursor
  @cursor
end

#limitObject

Returns the value of attribute limit.



4832
4833
4834
# File 'lib/bskyrb/generated_classes.rb', line 4832

def limit
  @limit
end

#repoObject

Returns the value of attribute repo.



4828
4829
4830
# File 'lib/bskyrb/generated_classes.rb', line 4828

def repo
  @repo
end

#reverseObject

Returns the value of attribute reverse.



4840
4841
4842
# File 'lib/bskyrb/generated_classes.rb', line 4840

def reverse
  @reverse
end

#rkeyEndObject

Returns the value of attribute rkeyEnd.



4838
4839
4840
# File 'lib/bskyrb/generated_classes.rb', line 4838

def rkeyEnd
  @rkeyEnd
end

#rkeyStartObject

Returns the value of attribute rkeyStart.



4836
4837
4838
# File 'lib/bskyrb/generated_classes.rb', line 4836

def rkeyStart
  @rkeyStart
end

Class Method Details

.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

Instance Method Details

#to_hObject



4863
4864
4865
4866
4867
4868
4869
4870
4871
4872
4873
4874
4875
4876
4877
4878
4879
4880
4881
# File 'lib/bskyrb/generated_classes.rb', line 4863

def to_h
  {

    "repo" => repo,

    "collection" => collection,

    "limit" => limit,

    "cursor" => cursor,

    "rkeyStart" => rkeyStart,

    "rkeyEnd" => rkeyEnd,

    "reverse" => reverse

  }
end