Sha256: 931b63cb68b894ef2c0d12e6e1ec64361fdeeef01fb02310f2519ce590ae5dbc

Contents?: true

Size: 969 Bytes

Versions: 8

Compression:

Stored size: 969 Bytes

Contents

# Code generated by Speakeasy (https://speakeasy.com). 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 MessageType < ::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::CreateMessageValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value') } }


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

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
stackone_client-0.3.0 lib/stack_one/models/shared/message_type.rb
stackone_client-0.2.46 lib/stack_one/models/shared/message_type.rb
stackone_client-0.2.45 lib/stack_one/models/shared/message_type.rb
stackone_client-0.2.44 lib/stack_one/models/shared/message_type.rb
stackone_client-0.2.43 lib/stack_one/models/shared/message_type.rb
stackone_client-0.2.42 lib/stack_one/models/shared/message_type.rb
stackone_client-0.2.41 lib/stack_one/models/shared/message_type.rb
stackone_client-0.2.40 lib/stack_one/models/shared/message_type.rb