Sha256: 9ae8b091503da414f2129c4a7d8b7171a555659b2f55b0489787ecc536491311
Contents?: true
Size: 1.72 KB
Versions: 1
Compression:
Stored size: 1.72 KB
Contents
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. # typed: true # frozen_string_literal: true require 'sorbet-runtime' require 'faraday' require_relative '../shared/offerstatusenum' module StackOne module Shared class AtsCreateOfferRequestDto < StackOne::Utils::FieldAugmented extend T::Sig field :application_id, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('application_id') } } field :offer_status, Shared::OfferStatusEnum, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('offer_status') } } # Date of creation field :start_date, DateTime, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('start_date'), 'decoder': Utils.datetime_from_iso_format(false) } } field :currency, T.nilable(String), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('currency') } } field :offer_history, T.nilable(T::Array[Shared::OfferHistory]), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('offer_history') } } field :salary, T.nilable(Float), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('salary') } } sig { params(application_id: String, offer_status: Shared::OfferStatusEnum, start_date: DateTime, currency: T.nilable(String), offer_history: T.nilable(T::Array[Shared::OfferHistory]), salary: T.nilable(Float)).void } def initialize(application_id: nil, offer_status: nil, start_date: nil, currency: nil, offer_history: nil, salary: nil) @application_id = application_id @offer_status = offer_status @start_date = start_date @currency = currency @offer_history = offer_history @salary = salary 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/atscreateofferrequestdto.rb |