Sha256: f825f8aae6502f33eda8873837f16428d6ec7f6985ac9802fa8abfcc8435c251

Contents?: true

Size: 1.53 KB

Versions: 16

Compression:

Stored size: 1.53 KB

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

    class OfferHistory < ::StackOne::Utils::FieldAugmented
      extend T::Sig

      # Date of creation
      field :created_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } }

      field :currency, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('currency') } }

      field :salary, T.nilable(::Float), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('salary') } }
      # Start Date of the offer
      field :start_date, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(true) } }
      # Date of last update
      field :updated_at, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } }


      sig { params(created_at: T.nilable(::DateTime), currency: T.nilable(::String), salary: T.nilable(::Float), start_date: T.nilable(::DateTime), updated_at: T.nilable(::DateTime)).void }
      def initialize(created_at: nil, currency: nil, salary: nil, start_date: nil, updated_at: nil)
        @created_at = created_at
        @currency = currency
        @salary = salary
        @start_date = start_date
        @updated_at = updated_at
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
stackone_client-0.3.2 lib/stack_one/models/shared/offerhistory.rb
stackone_client-0.3.1 lib/stack_one/models/shared/offerhistory.rb
stackone_client-0.3.0 lib/stack_one/models/shared/offerhistory.rb
stackone_client-0.2.46 lib/stack_one/models/shared/offerhistory.rb
stackone_client-0.2.45 lib/stack_one/models/shared/offerhistory.rb
stackone_client-0.2.44 lib/stack_one/models/shared/offerhistory.rb
stackone_client-0.2.43 lib/stack_one/models/shared/offerhistory.rb
stackone_client-0.2.42 lib/stack_one/models/shared/offerhistory.rb
stackone_client-0.2.41 lib/stack_one/models/shared/offerhistory.rb
stackone_client-0.2.40 lib/stack_one/models/shared/offerhistory.rb
stackone_client-0.2.39 lib/stack_one/models/shared/offerhistory.rb
stackone_client-0.2.38 lib/stack_one/models/shared/offerhistory.rb
stackone_client-0.2.37 lib/stack_one/models/shared/offerhistory.rb
stackone_client-0.2.36 lib/stack_one/models/shared/offerhistory.rb
stackone_client-0.2.35 lib/stack_one/models/shared/offerhistory.rb
stackone_client-0.2.34 lib/stack_one/models/shared/offerhistory.rb