Class: GOBL::Note::Message

Inherits:
Object show all
Defined in:
lib/generated/gobl/note/message.rb

Overview

Message represents a simple message object with a title and some content meant.

Constant Summary collapse

SCHEMA_ID =

The Schema ID of the GOBL Message structure

'https://gobl.org/draft-0/note/message'

Instance Attribute Summary collapse

Method Summary

Methods inherited from Object

new

Methods inherited from Struct

#as_json, from_data, from_json!, #to_json

Instance Attribute Details

#contentString (readonly)

Details of what exactly this message wants to communicate.

Returns:

  • (String)


28
# File 'lib/generated/gobl/note/message.rb', line 28

property :content, String

#metaGOBL::CBC::Meta (readonly)

Any additional semi-structured data that might be useful.

Returns:



34
# File 'lib/generated/gobl/note/message.rb', line 34

property :meta, GOBL::CBC::Meta

#titleString (readonly)

Summary of the message content

Returns:

  • (String)


23
# File 'lib/generated/gobl/note/message.rb', line 23

property :title, String

#uuidString (readonly)

Universally Unique Identifier.

Returns:

  • (String)


18
# File 'lib/generated/gobl/note/message.rb', line 18

property :uuid, String