Sha256: 2ee146a379a9b92c107ffa8395781d064e7f90e4f0ad058396f759cf8c3350fd
Contents?: true
Size: 1.03 KB
Versions: 2
Compression:
Stored size: 1.03 KB
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'), 'decoder': Utils.enum_from_string(::StackOne::Shared::CreateMessageValue, true) } } 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
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
stackone_client-0.3.2 | lib/stack_one/models/shared/message_type.rb |
stackone_client-0.3.1 | lib/stack_one/models/shared/message_type.rb |