Method: LockstepSdk::AttachmentModel#initialize

Defined in:
lib/lockstep_sdk/models/attachment_model.rb

#initialize(params = {}) ⇒ AttachmentModel

Initialize the AttachmentModel using the provided prototype



30
31
32
33
34
35
36
37
38
39
40
41
42
43
# File 'lib/lockstep_sdk/models/attachment_model.rb', line 30

def initialize(params = {})
    @attachment_id = params.dig(:attachment_id)
    @group_key = params.dig(:group_key)
    @table_key = params.dig(:table_key)
    @object_key = params.dig(:object_key)
    @file_name = params.dig(:file_name)
    @file_ext = params.dig(:file_ext)
    @is_archived = params.dig(:is_archived)
    @erp_key = params.dig(:erp_key)
    @app_enrollment_id = params.dig(:app_enrollment_id)
    @created = params.dig(:created)
    @created_user_id = params.dig(:created_user_id)
    @attachment_type = params.dig(:attachment_type)
end