Sha256: fdeb6258f229c688a2c1db7dbac24cced12533652146ff954f1c2fa01334c8ad

Contents?: true

Size: 1.48 KB

Versions: 16

Compression:

Stored size: 1.48 KB

Contents

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

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

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

      # Unique identifier
      field :id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }

      field :message_content, T.nilable(::Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message_content') } }
      # Stackone enum identifying the type of message associated with the content.
      field :message_type, T.nilable(::StackOne::Shared::MessageMessageType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message_type') } }

      field :name, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
      # Provider's unique identifier
      field :remote_id, T.nilable(::String), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('remote_id') } }


      sig { params(id: T.nilable(::String), message_content: T.nilable(::Object), message_type: T.nilable(::StackOne::Shared::MessageMessageType), name: T.nilable(::String), remote_id: T.nilable(::String)).void }
      def initialize(id: nil, message_content: nil, message_type: nil, name: nil, remote_id: nil)
        @id = id
        @message_content = message_content
        @message_type = message_type
        @name = name
        @remote_id = remote_id
      end
    end
  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
stackone_client-0.3.2 lib/stack_one/models/shared/message.rb
stackone_client-0.3.1 lib/stack_one/models/shared/message.rb
stackone_client-0.3.0 lib/stack_one/models/shared/message.rb
stackone_client-0.2.46 lib/stack_one/models/shared/message.rb
stackone_client-0.2.45 lib/stack_one/models/shared/message.rb
stackone_client-0.2.44 lib/stack_one/models/shared/message.rb
stackone_client-0.2.43 lib/stack_one/models/shared/message.rb
stackone_client-0.2.42 lib/stack_one/models/shared/message.rb
stackone_client-0.2.41 lib/stack_one/models/shared/message.rb
stackone_client-0.2.40 lib/stack_one/models/shared/message.rb
stackone_client-0.2.39 lib/stack_one/models/shared/message.rb
stackone_client-0.2.38 lib/stack_one/models/shared/message.rb
stackone_client-0.2.37 lib/stack_one/models/shared/message.rb
stackone_client-0.2.36 lib/stack_one/models/shared/message.rb
stackone_client-0.2.35 lib/stack_one/models/shared/message.rb
stackone_client-0.2.34 lib/stack_one/models/shared/message.rb