Sha256: 23736c2830eb257b3f4d37501ff6d3f244d131ca242572be49265d47d27d881d

Contents?: true

Size: 1.16 KB

Versions: 8

Compression:

Stored size: 1.16 KB

Contents

# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  
    # The category to be associated with the file to be uploaded. Id will take precedence over name.
    class HrisDocumentsUploadRequestDtoCategory < ::StackOne::Utils::FieldAugmented
      extend T::Sig

      # The provider specific category for associating uploaded files, if provided, the value will be ignored.
      field :source_value, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
      # The category name to associate with the file
      field :value, T.nilable(::StackOne::Shared::HrisDocumentsUploadRequestDtoValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::HrisDocumentsUploadRequestDtoValue, true) } }


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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
stackone_client-0.2.33 lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_category.rb
stackone_client-0.2.32 lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_category.rb
stackone_client-0.2.31 lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_category.rb
stackone_client-0.2.30 lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_category.rb
stackone_client-0.2.29 lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_category.rb
stackone_client-0.2.28 lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_category.rb
stackone_client-0.2.27 lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_category.rb
stackone_client-0.2.26 lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_category.rb