Sha256: ad47ec72fe11533be9f06679ecbb7818cb8f30a7e3fd99dd9aa7f0bd11656a5c

Contents?: true

Size: 945 Bytes

Versions: 1

Compression:

Stored size: 945 Bytes

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 CreateEmployeeResult < StackOne::Utils::FieldAugmented
      extend T::Sig


      field :message, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('message') } }

      field :status_code, Float, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('statusCode') } }

      field :timestamp, DateTime, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(false) } }


      sig { params(message: String, status_code: Float, timestamp: DateTime).void }
      def initialize(message: nil, status_code: nil, timestamp: nil)
        @message = message
        @status_code = status_code
        @timestamp = timestamp
      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/createemployeeresult.rb