lib/stack_one/models/shared/reference.rb in stackone_client-0.2.29 vs lib/stack_one/models/shared/reference.rb in stackone_client-0.2.30
- old
+ new
@@ -9,19 +9,22 @@
class Reference < ::StackOne::Utils::FieldAugmented
extend T::Sig
+ # The reference status
+ field :active, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('active') } }
# The reference id
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
# The reference name
field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
# Provider's unique identifier
field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
- sig { params(id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String)).void }
- def initialize(id: nil, name: nil, remote_id: nil)
+ sig { params(active: T.nilable(::Object), id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String)).void }
+ def initialize(active: nil, id: nil, name: nil, remote_id: nil)
+ @active = active
@id = id
@name = name
@remote_id = remote_id
end
end