Sha256: d7c79db4ee38b70e1702c3273caaf6948b38ab312860ede4183a5cad36d3c1dc

Contents?: true

Size: 983 Bytes

Versions: 2

Compression:

Stored size: 983 Bytes

Contents

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

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

    class InAppMessagesMessageType < ::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::InAppMessagesValue), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('value'), 'decoder': Utils.enum_from_string(::StackOne::Shared::InAppMessagesValue, true) } }


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

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
stackone_client-0.3.2 lib/stack_one/models/shared/inappmessages_message_type.rb
stackone_client-0.3.1 lib/stack_one/models/shared/inappmessages_message_type.rb