lib/stack_one/models/shared/rejectedreason.rb in stackone_client-0.2.7 vs lib/stack_one/models/shared/rejectedreason.rb in stackone_client-0.2.9
- old
+ new
@@ -9,24 +9,27 @@
class RejectedReason < ::StackOne::Utils::FieldAugmented
extend T::Sig
- # The ID of the rejected reason.
+ # Unique identifier
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
# The label of the rejected reason.
field :label, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('label') } }
field :rejected_reason_type, T.nilable(::StackOne::Shared::RejectedReasonType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('rejected_reason_type') } }
+ # Provider's unique identifier
+ field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
# The string type of the rejected reason.
field :type, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('type') } }
- sig { params(id: T.nilable(::String), label: T.nilable(::String), rejected_reason_type: T.nilable(::StackOne::Shared::RejectedReasonType), type: T.nilable(::String)).void }
- def initialize(id: nil, label: nil, rejected_reason_type: nil, type: nil)
+ sig { params(id: T.nilable(::String), label: T.nilable(::String), rejected_reason_type: T.nilable(::StackOne::Shared::RejectedReasonType), remote_id: T.nilable(::String), type: T.nilable(::String)).void }
+ def initialize(id: nil, label: nil, rejected_reason_type: nil, remote_id: nil, type: nil)
@id = id
@label = label
@rejected_reason_type = rejected_reason_type
+ @remote_id = remote_id
@type = type
end
end
end
end