# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. # typed: true # frozen_string_literal: true module StackOne module Shared class HrisDocumentsUploadRequestDto < ::StackOne::Utils::FieldAugmented extend T::Sig # The category to be associated with the file to be uploaded. Id will take precedence over name. field :category, T.nilable(::StackOne::Shared::HrisDocumentsUploadRequestDtoCategory), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('category') } } # The confidentiality level of the file to be uploaded field :confidential, T.nilable(::StackOne::Shared::Confidential), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('confidential') } } # The base64 encoded content of the file to upload field :content, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content') } } # The file format of the file field :file_format, T.nilable(::StackOne::Shared::HrisDocumentsUploadRequestDtoFileFormat), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('file_format') } } # The filename of the file to upload field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } } # The path for the file to be uploaded to field :path, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('path') } } sig { params(category: T.nilable(::StackOne::Shared::HrisDocumentsUploadRequestDtoCategory), confidential: T.nilable(::StackOne::Shared::Confidential), content: T.nilable(::String), file_format: T.nilable(::StackOne::Shared::HrisDocumentsUploadRequestDtoFileFormat), name: T.nilable(::String), path: T.nilable(::String)).void } def initialize(category: nil, confidential: nil, content: nil, file_format: nil, name: nil, path: nil) @category = category @confidential = confidential @content = content @file_format = file_format @name = name @path = path end end end end