Method: SDM::AccountResourceHistory#initialize

Defined in:
lib/models/porcelain.rb

#initialize(account_resource: nil, activity_id: nil, deleted_at: nil, timestamp: nil) ⇒ AccountResourceHistory

Returns a new instance of AccountResourceHistory.



1483
1484
1485
1486
1487
1488
1489
1490
1491
1492
1493
# File 'lib/models/porcelain.rb', line 1483

def initialize(
  account_resource: nil,
  activity_id: nil,
  deleted_at: nil,
  timestamp: nil
)
  @account_resource =  == nil ? nil : 
  @activity_id = activity_id == nil ? "" : activity_id
  @deleted_at = deleted_at == nil ? nil : deleted_at
  @timestamp = timestamp == nil ? nil : timestamp
end