Sha256: 6f10a7cb6b559eaa8d206032b425144d5f188fc88cc0f0c8b387e45f7bddc3f6

Contents?: true

Size: 1.16 KB

Versions: 3

Compression:

Stored size: 1.16 KB

Contents

# Code generated by Speakeasy (https://speakeasy.com). 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 < ::Crystalline::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

3 entries across 3 versions & 1 rubygems

Version Path
stackone_client-0.6.0 lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_category.rb
stackone_client-0.5.9 lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_category.rb
stackone_client-0.5.8 lib/stack_one/models/shared/hrisdocumentsuploadrequestdto_category.rb