lib/stack_one/models/shared/createresultdataapimodel.rb in stackone_client-0.3.1 vs lib/stack_one/models/shared/createresultdataapimodel.rb in stackone_client-0.3.2

- old
+ new

@@ -9,20 +9,17 @@ class CreateResultDataApiModel < ::StackOne::Utils::FieldAugmented extend T::Sig - # The external identifier - field :external_reference, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('external_reference') } } # Unique identifier field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } } # Provider's unique identifier field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } } - sig { params(external_reference: T.nilable(::String), id: T.nilable(::String), remote_id: T.nilable(::String)).void } - def initialize(external_reference: nil, id: nil, remote_id: nil) - @external_reference = external_reference + sig { params(id: T.nilable(::String), remote_id: T.nilable(::String)).void } + def initialize(id: nil, remote_id: nil) @id = id @remote_id = remote_id end end end