Class: Bskyrb::AppBskyNotificationGetunreadcount::GetUnreadCount::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.



3345
3346
3347
# File 'lib/bskyrb/generated_classes.rb', line 3345

def seenAt
  @seenAt
end

Class Method Details

.from_hash(hash) ⇒ Object



3347
3348
3349
3350
3351
3352
3353
3354
# File 'lib/bskyrb/generated_classes.rb', line 3347

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

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

  instance
end

Instance Method Details

#to_hObject



3356
3357
3358
3359
3360
3361
3362
# File 'lib/bskyrb/generated_classes.rb', line 3356

def to_h
  {

    "seenAt" => seenAt

  }
end