Class: Bskyrb::AppBskyGraphUnmuteactorlist::UnmuteActorList::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

#listObject

Returns the value of attribute list.



3320
3321
3322
# File 'lib/bskyrb/generated_classes.rb', line 3320

def list
  @list
end

Class Method Details

.from_hash(hash) ⇒ Object



3322
3323
3324
3325
3326
3327
3328
3329
# File 'lib/bskyrb/generated_classes.rb', line 3322

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

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

  instance
end

Instance Method Details

#to_hObject



3331
3332
3333
3334
3335
3336
3337
# File 'lib/bskyrb/generated_classes.rb', line 3331

def to_h
  {

    "list" => list

  }
end