Sha256: e722a6e7380aeafe7093012e79ff384dc4869ec25e6ae2fc3179844a46914f8a

Contents?: true

Size: 1.95 KB

Versions: 1

Compression:

Stored size: 1.95 KB

Contents

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

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

    class UnifiedUploadRequestDto < ::StackOne::Utils::FieldAugmented
      extend T::Sig

      # The category name or Id of the category to be associated with
      field :category, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('category') } }
      # The confidentiality level of the file to be uploaded
      field :confidential, T.nilable(::StackOne::Shared::UnifiedUploadRequestDtoConfidential), { '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::UnifiedUploadRequestDtoFileFormat), { '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(::String), confidential: T.nilable(::StackOne::Shared::UnifiedUploadRequestDtoConfidential), content: T.nilable(::String), file_format: T.nilable(::StackOne::Shared::UnifiedUploadRequestDtoFileFormat), 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

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
stackone_client-0.2.18 lib/stack_one/models/shared/unifieduploadrequestdto.rb