Sha256: bc0e5dcabff5fba20f030906a6475b37c598098d5c371de427f282e0000f32a6

Contents?: true

Size: 945 Bytes

Versions: 3

Compression:

Stored size: 945 Bytes

Contents

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

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  
    # The hierarchal level of the category
    class CreateCategoriesApiModelHierarchy < ::Crystalline::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::CreateCategoriesApiModelValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::CreateCategoriesApiModelValue, true) } }


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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stackone_client-0.6.0 lib/stack_one/models/shared/createcategoriesapimodel_hierarchy.rb
stackone_client-0.5.9 lib/stack_one/models/shared/createcategoriesapimodel_hierarchy.rb
stackone_client-0.5.8 lib/stack_one/models/shared/createcategoriesapimodel_hierarchy.rb