Sha256: 4f57226234f1d3419b7fd4a00c68e41ee580dc0f2249a41fcb4e7b6626184716

Contents?: true

Size: 824 Bytes

Versions: 6

Compression:

Stored size: 824 Bytes

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::FileFormatEnum), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('file_format') } }
      # 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::FileFormatEnum), url: T.nilable(::String)).void }
      def initialize(file_format: nil, url: nil)
        @file_format = file_format
        @url = url
      end
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
stackone_client-0.2.4 lib/stack_one/models/shared/content.rb
stackone_client-0.2.3 lib/stack_one/models/shared/content.rb
stackone_client-0.2.2 lib/stack_one/models/shared/content.rb
stackone_client-0.2.1 lib/stack_one/models/shared/content.rb
stackone_client-0.2.0 lib/stack_one/models/shared/content.rb
stackone_client-0.1.1 lib/stack_one/models/shared/content.rb