Sha256: 4b43a701127bade5a1dacd290a730ef84f88a0eecb1d0fbaacc13f165d4798f0

Contents?: true

Size: 983 Bytes

Versions: 13

Compression:

Stored size: 983 Bytes

Contents

# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

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


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

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

      field :timestamp, T.nilable(::DateTime), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('timestamp'), 'decoder': Utils.datetime_from_iso_format(true) } }


      sig { params(message: T.nilable(::String), status_code: T.nilable(::Float), timestamp: T.nilable(::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

13 entries across 13 versions & 1 rubygems

Version Path
stackone_client-0.2.13 lib/stack_one/models/shared/createtimeoffresult.rb
stackone_client-0.2.12 lib/stack_one/models/shared/createtimeoffresult.rb
stackone_client-0.2.11 lib/stack_one/models/shared/createtimeoffresult.rb
stackone_client-0.2.10 lib/stack_one/models/shared/createtimeoffresult.rb
stackone_client-0.2.9 lib/stack_one/models/shared/createtimeoffresult.rb
stackone_client-0.2.7 lib/stack_one/models/shared/createtimeoffresult.rb
stackone_client-0.2.6 lib/stack_one/models/shared/createtimeoffresult.rb
stackone_client-0.2.4 lib/stack_one/models/shared/createtimeoffresult.rb
stackone_client-0.2.3 lib/stack_one/models/shared/createtimeoffresult.rb
stackone_client-0.2.2 lib/stack_one/models/shared/createtimeoffresult.rb
stackone_client-0.2.1 lib/stack_one/models/shared/createtimeoffresult.rb
stackone_client-0.2.0 lib/stack_one/models/shared/createtimeoffresult.rb
stackone_client-0.1.1 lib/stack_one/models/shared/createtimeoffresult.rb