Sha256: 527f523440b2291d27236a156db2aa334cd646b1ba880d182c1385c159ea29f1

Contents?: true

Size: 896 Bytes

Versions: 8

Compression:

Stored size: 896 Bytes

Contents

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

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

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

      # The source value of the job status.
      field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
      # The status of the job.
      field :value, T.nilable(::StackOne::Shared::JobValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::JobValue, true) } }


      sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::JobValue)).void }
      def initialize(source_value: nil, value: nil)
        @source_value = source_value
        @value = value
      end
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
stackone_client-0.2.11 lib/stack_one/models/shared/job_status.rb
stackone_client-0.2.10 lib/stack_one/models/shared/job_status.rb
stackone_client-0.2.9 lib/stack_one/models/shared/job_status.rb
stackone_client-0.2.7 lib/stack_one/models/shared/job_status.rb
stackone_client-0.2.6 lib/stack_one/models/shared/job_status.rb
stackone_client-0.2.4 lib/stack_one/models/shared/job_status.rb
stackone_client-0.2.3 lib/stack_one/models/shared/job_status.rb
stackone_client-0.2.2 lib/stack_one/models/shared/job_status.rb