Sha256: 699f1d065e4f953edcb0e46241c92ef7a50ee6018c394064f1d2eb6883325449

Contents?: true

Size: 1.83 KB

Versions: 10

Compression:

Stored size: 1.83 KB

Contents

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

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

    class Category < ::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 ID associated with this category
      field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
      # The hierarchal level of the category
      field :level, T.nilable(::StackOne::Shared::Level), { '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') } }
      # Provider's unique identifier
      field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }
      # 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), id: T.nilable(::String), level: T.nilable(::StackOne::Shared::Level), name: T.nilable(::String), remote_id: T.nilable(::String), unified_custom_fields: T.nilable(T::Hash[Symbol, ::Object])).void }
      def initialize(active: nil, id: nil, level: nil, name: nil, remote_id: nil, unified_custom_fields: nil)
        @active = active
        @id = id
        @level = level
        @name = name
        @remote_id = remote_id
        @unified_custom_fields = unified_custom_fields
      end
    end
  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
stackone_client-0.3.3 lib/stack_one/models/shared/category.rb
stackone_client-0.3.2 lib/stack_one/models/shared/category.rb
stackone_client-0.3.1 lib/stack_one/models/shared/category.rb
stackone_client-0.3.0 lib/stack_one/models/shared/category.rb
stackone_client-0.2.46 lib/stack_one/models/shared/category.rb
stackone_client-0.2.45 lib/stack_one/models/shared/category.rb
stackone_client-0.2.44 lib/stack_one/models/shared/category.rb
stackone_client-0.2.43 lib/stack_one/models/shared/category.rb
stackone_client-0.2.42 lib/stack_one/models/shared/category.rb
stackone_client-0.2.41 lib/stack_one/models/shared/category.rb