Sha256: 75ae77d15b6604be6badad8d2ab276c0c3a5633fc9f7c714fa3e3388db18952a

Contents?: true

Size: 1.45 KB

Versions: 6

Compression:

Stored size: 1.45 KB

Contents

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

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

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

      # Whether the category is active and therefore available for use
      field :active, T.nilable(T::Boolean), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('active') } }
      # The hierarchal level of the category
      field :level, T.nilable(::StackOne::Shared::CreateCategoriesApiModelLevel), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('level') } }
      # The name associated with this category
      field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
      # Custom Unified Fields configured in your StackOne project
      field :unified_custom_fields, T.nilable(T::Hash[Symbol, ::Object]), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_custom_fields') } }


      sig { params(active: T.nilable(T::Boolean), level: T.nilable(::StackOne::Shared::CreateCategoriesApiModelLevel), name: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
      def initialize(active: nil, level: nil, name: nil, unified_custom_fields: nil)
        @active = active
        @level = level
        @name = name
        @unified_custom_fields = unified_custom_fields
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
stackone_client-0.2.46 lib/stack_one/models/shared/createcategoriesapimodel.rb
stackone_client-0.2.45 lib/stack_one/models/shared/createcategoriesapimodel.rb
stackone_client-0.2.44 lib/stack_one/models/shared/createcategoriesapimodel.rb
stackone_client-0.2.43 lib/stack_one/models/shared/createcategoriesapimodel.rb
stackone_client-0.2.42 lib/stack_one/models/shared/createcategoriesapimodel.rb
stackone_client-0.2.41 lib/stack_one/models/shared/createcategoriesapimodel.rb