Sha256: 43652179b390fd685388476e6177239bd58a13f40772b5f912efa6e7136c7e39
Contents?: true
Size: 1.53 KB
Versions: 1
Compression:
Stored size: 1.53 KB
Contents
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. # typed: true # frozen_string_literal: true require 'sorbet-runtime' require 'faraday' module StackOne module Shared class OfferHistory < StackOne::Utils::FieldAugmented extend T::Sig # Start Date of the offer field :start_date, DateTime, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(false) } } # Date of creation field :created_at, T.nilable(DateTime), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('created_at'), 'decoder': Utils.datetime_from_iso_format(true) } } field :currency, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('currency') } } field :salary, T.nilable(Float), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('salary') } } # Date of last update field :updated_at, T.nilable(DateTime), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('updated_at'), 'decoder': Utils.datetime_from_iso_format(true) } } sig { params(start_date: DateTime, created_at: T.nilable(DateTime), currency: T.nilable(String), salary: T.nilable(Float), updated_at: T.nilable(DateTime)).void } def initialize(start_date: nil, created_at: nil, currency: nil, salary: nil, updated_at: nil) @start_date = start_date @created_at = created_at @currency = currency @salary = salary @updated_at = updated_at end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
stackone_client-0.0.1 | lib/stackone/models/shared/offerhistory.rb |