Sha256: 9fcbcdb9bc6e6fa3a0fd32db067ef02e2f6356566e6d153bb5638f86e6b2c5b8

Contents?: true

Size: 1.23 KB

Versions: 11

Compression:

Stored size: 1.23 KB

Contents

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

# typed: true
# frozen_string_literal: true


module StackOne
  module Shared
  

    class CreateMessage < ::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::MessageType), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message_type') } }

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


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

Version data entries

11 entries across 11 versions & 1 rubygems

Version Path
stackone_client-0.3.3 lib/stack_one/models/shared/createmessage.rb
stackone_client-0.3.2 lib/stack_one/models/shared/createmessage.rb
stackone_client-0.3.1 lib/stack_one/models/shared/createmessage.rb
stackone_client-0.3.0 lib/stack_one/models/shared/createmessage.rb
stackone_client-0.2.46 lib/stack_one/models/shared/createmessage.rb
stackone_client-0.2.45 lib/stack_one/models/shared/createmessage.rb
stackone_client-0.2.44 lib/stack_one/models/shared/createmessage.rb
stackone_client-0.2.43 lib/stack_one/models/shared/createmessage.rb
stackone_client-0.2.42 lib/stack_one/models/shared/createmessage.rb
stackone_client-0.2.41 lib/stack_one/models/shared/createmessage.rb
stackone_client-0.2.40 lib/stack_one/models/shared/createmessage.rb