Sha256: ac835633e4a6eaa08f734db6cefd7375d4c07edcde3d7dd7dfe0e7494ce1c471

Contents?: true

Size: 1.08 KB

Versions: 16

Compression:

Stored size: 1.08 KB

Contents

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

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

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

      # The file format of the file
      field :file_format, T.nilable(::StackOne::Shared::ContentFileFormat), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('file_format') } }
      # Unified download URL for retrieving file content.
      field :unified_url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('unified_url') } }
      # URL where the file content is located
      field :url, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('url') } }


      sig { params(file_format: T.nilable(::StackOne::Shared::ContentFileFormat), unified_url: T.nilable(::String), url: T.nilable(::String)).void }
      def initialize(file_format: nil, unified_url: nil, url: nil)
        @file_format = file_format
        @unified_url = unified_url
        @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/content.rb
stackone_client-0.3.1 lib/stack_one/models/shared/content.rb
stackone_client-0.3.0 lib/stack_one/models/shared/content.rb
stackone_client-0.2.46 lib/stack_one/models/shared/content.rb
stackone_client-0.2.45 lib/stack_one/models/shared/content.rb
stackone_client-0.2.44 lib/stack_one/models/shared/content.rb
stackone_client-0.2.43 lib/stack_one/models/shared/content.rb
stackone_client-0.2.42 lib/stack_one/models/shared/content.rb
stackone_client-0.2.41 lib/stack_one/models/shared/content.rb
stackone_client-0.2.40 lib/stack_one/models/shared/content.rb
stackone_client-0.2.39 lib/stack_one/models/shared/content.rb
stackone_client-0.2.38 lib/stack_one/models/shared/content.rb
stackone_client-0.2.37 lib/stack_one/models/shared/content.rb
stackone_client-0.2.36 lib/stack_one/models/shared/content.rb
stackone_client-0.2.35 lib/stack_one/models/shared/content.rb
stackone_client-0.2.34 lib/stack_one/models/shared/content.rb