Sha256: 129d6cff13b464112e976535eed57953b389844eeb908c7fea57aef457f5460e

Contents?: true

Size: 1.08 KB

Versions: 8

Compression:

Stored size: 1.08 KB

Contents

# Code generated by Speakeasy (https://speakeasyapi.dev). 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

8 entries across 8 versions & 1 rubygems

Version Path
stackone_client-0.2.33 lib/stack_one/models/shared/content.rb
stackone_client-0.2.32 lib/stack_one/models/shared/content.rb
stackone_client-0.2.31 lib/stack_one/models/shared/content.rb
stackone_client-0.2.30 lib/stack_one/models/shared/content.rb
stackone_client-0.2.29 lib/stack_one/models/shared/content.rb
stackone_client-0.2.28 lib/stack_one/models/shared/content.rb
stackone_client-0.2.27 lib/stack_one/models/shared/content.rb
stackone_client-0.2.26 lib/stack_one/models/shared/content.rb