Sha256: a8aa21b4f4889a83a7917ef62594d5546f5412cb20622256d0c5d82bdb729ed0

Contents?: true

Size: 1.23 KB

Versions: 23

Compression:

Stored size: 1.23 KB

Contents

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

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

    class MessageContent < ::StackOne::Utils::FieldAugmented
      extend T::Sig


      field :body, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('body') } }

      field :from, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('from') } }

      field :preheader, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('preheader') } }

      field :reply_to, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('reply-to') } }

      field :subject, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('subject') } }


      sig { params(body: T.nilable(::String), from: T.nilable(::String), preheader: T.nilable(::String), reply_to: T.nilable(::String), subject: T.nilable(::String)).void }
      def initialize(body: nil, from: nil, preheader: nil, reply_to: nil, subject: nil)
        @body = body
        @from = from
        @preheader = preheader
        @reply_to = reply_to
        @subject = subject
      end
    end
  end
end

Version data entries

23 entries across 23 versions & 1 rubygems

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