lib/stack_one/models/shared/jobpostinglocation.rb in stackone_client-0.2.7 vs lib/stack_one/models/shared/jobpostinglocation.rb in stackone_client-0.2.9
- old
+ new
@@ -9,19 +9,22 @@
class JobPostingLocation < ::StackOne::Utils::FieldAugmented
extend T::Sig
-
+ # Unique identifier
field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
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)).void }
- def initialize(id: nil, name: nil)
+ 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)
@id = id
@name = name
+ @remote_id = remote_id
end
end
end
end