Sha256: 045e3c32a00918ef81da138e0eb4b31a5a30297726a08f1b96edc45ce4e9c28c

Contents?: true

Size: 935 Bytes

Versions: 3

Compression:

Stored size: 935 Bytes

Contents

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

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  
    # The file format of the file
    class ContentFileFormat < ::Crystalline::FieldAugmented
      extend T::Sig


      field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
      # The file format of the file, expressed as a file extension
      field :value, T.nilable(::StackOne::Shared::ContentValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::ContentValue, true) } }


      sig { params(source_value: T.nilable(::Object), value: T.nilable(::StackOne::Shared::ContentValue)).void }
      def initialize(source_value: nil, value: nil)
        @source_value = source_value
        @value = value
      end
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
stackone_client-0.6.0 lib/stack_one/models/shared/content_file_format.rb
stackone_client-0.5.9 lib/stack_one/models/shared/content_file_format.rb
stackone_client-0.5.8 lib/stack_one/models/shared/content_file_format.rb