Sha256: 5184a069c7b453a3f24695dd9312e4df0981d2f1da1d10c7e2e00e6b495865ee

Contents?: true

Size: 861 Bytes

Versions: 6

Compression:

Stored size: 861 Bytes

Contents

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

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

    class FileFormatEnum < ::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::FileFormatEnumValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::FileFormatEnumValue, true) } }


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

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
stackone_client-0.2.4 lib/stack_one/models/shared/fileformatenum.rb
stackone_client-0.2.3 lib/stack_one/models/shared/fileformatenum.rb
stackone_client-0.2.2 lib/stack_one/models/shared/fileformatenum.rb
stackone_client-0.2.1 lib/stack_one/models/shared/fileformatenum.rb
stackone_client-0.2.0 lib/stack_one/models/shared/fileformatenum.rb
stackone_client-0.1.1 lib/stack_one/models/shared/fileformatenum.rb