Sha256: dc22124a502da4815bd57923373e5587bf1adc744336a985e95c273af495d0dd

Contents?: true

Size: 1.21 KB

Versions: 4

Compression:

Stored size: 1.21 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 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') } }


      sig { params(active: T.nilable(T::Boolean), id: T.nilable(::String), name: T.nilable(::String), remote_id: T.nilable(::String)).void }
      def initialize(active: nil, id: nil, name: nil, remote_id: nil)
        @active = active
        @id = id
        @name = name
        @remote_id = remote_id
      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/category.rb
stackone_client-0.2.36 lib/stack_one/models/shared/category.rb
stackone_client-0.2.35 lib/stack_one/models/shared/category.rb
stackone_client-0.2.34 lib/stack_one/models/shared/category.rb