lib/stackone/models/shared/message.rb in stackone_client-0.0.1 vs lib/stackone/models/shared/message.rb in stackone_client-0.0.2
- old
+ new
@@ -23,20 +23,20 @@
end
end
- class Message < StackOne::Utils::FieldAugmented
+ class Message < ::StackOne::Utils::FieldAugmented
extend T::Sig
- field :id, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('id') } }
+ field :id, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('id') } }
- field :message_type, Shared::MessageMessageType, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('message_type'), 'decoder': Utils.enum_from_string(Shared::MessageMessageType, false) } }
+ field :message_type, Shared::MessageMessageType, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message_type'), 'decoder': Utils.enum_from_string(Shared::MessageMessageType, false) } }
- field :name, String, { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('name') } }
+ field :name, String, { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('name') } }
- field :message_content, T.nilable(Object), { 'format_json': { 'letter_case': OpenApiSDK::Utils.field_name('message_content') } }
+ field :message_content, T.nilable(Object), { 'format_json': { 'letter_case': ::StackOne::Utils.field_name('message_content') } }
sig { params(id: String, message_type: Shared::MessageMessageType, name: String, message_content: T.nilable(Object)).void }
def initialize(id: nil, message_type: nil, name: nil, message_content: nil)
@id = id