Class: Bskyrb::ComAtprotoLabelQuerylabels::QueryLabels::Input
- Inherits:
-
Object
- Object
- Bskyrb::ComAtprotoLabelQuerylabels::QueryLabels::Input
- Defined in:
- lib/bskyrb/generated_classes.rb
Instance Attribute Summary collapse
-
#cursor ⇒ Object
Returns the value of attribute cursor.
-
#limit ⇒ Object
Returns the value of attribute limit.
-
#sources ⇒ Object
Returns the value of attribute sources.
-
#uriPatterns ⇒ Object
Returns the value of attribute uriPatterns.
Class Method Summary collapse
Instance Method Summary collapse
Instance Attribute Details
#cursor ⇒ Object
Returns the value of attribute cursor.
4356 4357 4358 |
# File 'lib/bskyrb/generated_classes.rb', line 4356 def cursor @cursor end |
#limit ⇒ Object
Returns the value of attribute limit.
4354 4355 4356 |
# File 'lib/bskyrb/generated_classes.rb', line 4354 def limit @limit end |
#sources ⇒ Object
Returns the value of attribute sources.
4352 4353 4354 |
# File 'lib/bskyrb/generated_classes.rb', line 4352 def sources @sources end |
#uriPatterns ⇒ Object
Returns the value of attribute uriPatterns.
4350 4351 4352 |
# File 'lib/bskyrb/generated_classes.rb', line 4350 def uriPatterns @uriPatterns end |
Class Method Details
.from_hash(hash) ⇒ Object
4358 4359 4360 4361 4362 4363 4364 4365 4366 4367 4368 4369 4370 4371 |
# File 'lib/bskyrb/generated_classes.rb', line 4358 def self.from_hash(hash) # httparty-returned string-keyed hash instance = new instance.send(:uriPatterns=, hash["uriPatterns"]) instance.send(:sources=, hash["sources"]) instance.send(:limit=, hash["limit"]) instance.send(:cursor=, hash["cursor"]) instance end |
Instance Method Details
#to_h ⇒ Object
4373 4374 4375 4376 4377 4378 4379 4380 4381 4382 4383 4384 4385 |
# File 'lib/bskyrb/generated_classes.rb', line 4373 def to_h { "uriPatterns" => uriPatterns, "sources" => sources, "limit" => limit, "cursor" => cursor } end |