Class: Bskyrb::AppBskyNotificationUpdateseen::UpdateSeen::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

#seenAtObject

Returns the value of attribute seenAt.



3455
3456
3457
# File 'lib/bskyrb/generated_classes.rb', line 3455

def seenAt
  @seenAt
end

Class Method Details

.from_hash(hash) ⇒ Object



3457
3458
3459
3460
3461
3462
3463
3464
# File 'lib/bskyrb/generated_classes.rb', line 3457

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

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

  instance
end

Instance Method Details

#to_hObject



3466
3467
3468
3469
3470
3471
3472
# File 'lib/bskyrb/generated_classes.rb', line 3466

def to_h
  {

    "seenAt" => seenAt

  }
end