Sha256: 06bc7df422e1f4e323b8797fcc884da784bb8a2103772e8bb8e8c61ff213924e

Contents?: true

Size: 802 Bytes

Versions: 4

Compression:

Stored size: 802 Bytes

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 name associated with this category
      field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }


      sig { params(active: T.nilable(T::Boolean), name: T.nilable(::String)).void }
      def initialize(active: nil, name: nil)
        @active = active
        @name = name
      end
    end
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
stackone_client-0.2.37 lib/stack_one/models/shared/createcategoriesapimodel.rb
stackone_client-0.2.36 lib/stack_one/models/shared/createcategoriesapimodel.rb
stackone_client-0.2.35 lib/stack_one/models/shared/createcategoriesapimodel.rb
stackone_client-0.2.34 lib/stack_one/models/shared/createcategoriesapimodel.rb