Class: Bskyrb::AppBskyGraphMuteactorlist::MuteActorList::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.



3270
3271
3272
# File 'lib/bskyrb/generated_classes.rb', line 3270

def list
  @list
end

Class Method Details

.from_hash(hash) ⇒ Object



3272
3273
3274
3275
3276
3277
3278
3279
# File 'lib/bskyrb/generated_classes.rb', line 3272

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

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

  instance
end

Instance Method Details

#to_hObject



3281
3282
3283
3284
3285
3286
3287
# File 'lib/bskyrb/generated_classes.rb', line 3281

def to_h
  {

    "list" => list

  }
end