Sha256: 47a7fe74e2ac148e55cd4d87da7ac652c97b5ba69ffc67e053111a60108fbd1b

Contents?: true

Size: 1.24 KB

Versions: 16

Compression:

Stored size: 1.24 KB

Contents

# Code generated by Speakeasy (https://speakeasy.com). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

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

      # The content of the attachment.
      field :content, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content') } }

      field :content_type, T.nilable(::StackOne::Shared::ContentType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('content_type') } }
      # The file name of the attachment.
      field :file_name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('file_name') } }
      # The URL of the attachment.
      field :url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }


      sig { params(content: T.nilable(::String), content_type: T.nilable(::StackOne::Shared::ContentType), file_name: T.nilable(::String), url: T.nilable(::String)).void }
      def initialize(content: nil, content_type: nil, file_name: nil, url: nil)
        @content = content
        @content_type = content_type
        @file_name = file_name
        @url = url
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
stackone_client-0.3.2 lib/stack_one/models/shared/applicationattachment.rb
stackone_client-0.3.1 lib/stack_one/models/shared/applicationattachment.rb
stackone_client-0.3.0 lib/stack_one/models/shared/applicationattachment.rb
stackone_client-0.2.46 lib/stack_one/models/shared/applicationattachment.rb
stackone_client-0.2.45 lib/stack_one/models/shared/applicationattachment.rb
stackone_client-0.2.44 lib/stack_one/models/shared/applicationattachment.rb
stackone_client-0.2.43 lib/stack_one/models/shared/applicationattachment.rb
stackone_client-0.2.42 lib/stack_one/models/shared/applicationattachment.rb
stackone_client-0.2.41 lib/stack_one/models/shared/applicationattachment.rb
stackone_client-0.2.40 lib/stack_one/models/shared/applicationattachment.rb
stackone_client-0.2.39 lib/stack_one/models/shared/applicationattachment.rb
stackone_client-0.2.38 lib/stack_one/models/shared/applicationattachment.rb
stackone_client-0.2.37 lib/stack_one/models/shared/applicationattachment.rb
stackone_client-0.2.36 lib/stack_one/models/shared/applicationattachment.rb
stackone_client-0.2.35 lib/stack_one/models/shared/applicationattachment.rb
stackone_client-0.2.34 lib/stack_one/models/shared/applicationattachment.rb