Sha256: 13e9c2cb6dd9411e9b311e4db7bf7a903149841d452d21b73f9a744c012b5b4f

Contents?: true

Size: 908 Bytes

Versions: 5

Compression:

Stored size: 908 Bytes

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  
    # The learning object type of the assignment
    class CompletionLearningObjectType < ::StackOne::Utils::FieldAugmented
      extend T::Sig


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

      field :value, T.nilable(::StackOne::Shared::CompletionValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::CompletionValue, true) } }


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

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
stackone_client-0.4.0 lib/stack_one/models/shared/completion_learning_object_type.rb
stackone_client-0.3.3 lib/stack_one/models/shared/completion_learning_object_type.rb
stackone_client-0.3.2 lib/stack_one/models/shared/completion_learning_object_type.rb
stackone_client-0.3.1 lib/stack_one/models/shared/completion_learning_object_type.rb
stackone_client-0.3.0 lib/stack_one/models/shared/completion_learning_object_type.rb