Sha256: 5b695a1ff9324b079f41d879c244afa99723e06d366f4fbcbf3e8d877c0858d6
Contents?: true
Size: 1.22 KB
Versions: 5
Compression:
Stored size: 1.22 KB
Contents
# Code generated by Speakeasy (https://speakeasyapi.dev). DO NOT EDIT. # typed: true # frozen_string_literal: true module StackOne module Shared class Message < ::StackOne::Utils::FieldAugmented extend T::Sig 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') } } sig { params(id: T.nilable(::String), message_content: T.nilable(::Object), message_type: T.nilable(::StackOne::Shared::MessageMessageType), 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
5 entries across 5 versions & 1 rubygems