Sha256: 1260f48d5913dab241e4c79470e70dddad5a38b0d9eaed1559a7237eb58593f5

Contents?: true

Size: 967 Bytes

Versions: 22

Compression:

Stored size: 967 Bytes

Contents

# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT.

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  
    # Stackone enum identifying the type of message associated with the content.
    class MessageMessageType < ::StackOne::Utils::FieldAugmented
      extend T::Sig

      # The original value from the provider used to derive the unified message type.
      field :source_value, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('source_value') } }
      # The unified message type.
      field :value, T.nilable(::StackOne::Shared::MessageValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value') } }


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

Version data entries

22 entries across 22 versions & 1 rubygems

Version Path
stackone_client-0.2.4 lib/stack_one/models/shared/message_message_type.rb
stackone_client-0.2.3 lib/stack_one/models/shared/message_message_type.rb