Class: Peddler::APIs::Support20250201::ChatEvent
- Inherits:
-
Data
- Object
- Data
- Peddler::APIs::Support20250201::ChatEvent
- Defined in:
- sig/peddler/apis/support_2025_02_01.rbs
Instance Attribute Summary collapse
-
#attachments ⇒ Array[Peddler::APIs::Support20250201::Attachment]?
readonly
Returns the value of attribute attachments.
-
#message ⇒ String?
readonly
Returns the value of attribute message.
-
#participant ⇒ Peddler::APIs::Support20250201::Participant?
readonly
Returns the value of attribute participant.
-
#timestamp ⇒ Time
readonly
Returns the value of attribute timestamp.
-
#type ⇒ String
readonly
Returns the value of attribute type.
Class Method Summary collapse
-
.[] ⇒ Object
-
.members ⇒ [ :timestamp, :type, :attachments, :message, :participant ]
-
.new ⇒ Object
-
.parse ⇒ Peddler::APIs::Support20250201::ChatEvent
Instance Method Summary collapse
-
#members ⇒ [ :timestamp, :type, :attachments, :message, :participant ]
-
#to_h ⇒ { timestamp: Time, type: String, attachments: Array[Peddler::APIs::Support20250201::Attachment]?, message: String?, participant: Peddler::APIs::Support20250201::Participant? }
Instance Attribute Details
#attachments ⇒ Array[Peddler::APIs::Support20250201::Attachment]? (readonly)
Returns the value of attribute attachments.
109 110 111 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 109 def @attachments end |
#message ⇒ String? (readonly)
Returns the value of attribute message.
110 111 112 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 110 def @message end |
#participant ⇒ Peddler::APIs::Support20250201::Participant? (readonly)
Returns the value of attribute participant.
111 112 113 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 111 def participant @participant end |
#timestamp ⇒ Time (readonly)
Returns the value of attribute timestamp.
112 113 114 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 112 def @timestamp end |
#type ⇒ String (readonly)
Returns the value of attribute type.
113 114 115 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 113 def type @type end |
Class Method Details
.[](timestamp:, type:, attachments:, message:, participant:) ⇒ Peddler::APIs::Support20250201::ChatEvent .[](arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::Support20250201::ChatEvent
102 103 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 102
def self.[]: (timestamp: Time, type: String, ?attachments: Array[Peddler::APIs::Support20250201::Attachment]?, ?message: String?, ?participant: Peddler::APIs::Support20250201::Participant?) -> Peddler::APIs::Support20250201::ChatEvent
| (Time, String, Array[Peddler::APIs::Support20250201::Attachment]?, String?, Peddler::APIs::Support20250201::Participant?) -> Peddler::APIs::Support20250201::ChatEvent
|
.members ⇒ [ :timestamp, :type, :attachments, :message, :participant ]
105 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 105
def self.members: () -> [ :timestamp, :type, :attachments, :message, :participant ]
|
.new(timestamp:, type:, attachments:, message:, participant:) ⇒ Peddler::APIs::Support20250201::ChatEvent .new(arg0, arg1, arg2, arg3, arg4) ⇒ Peddler::APIs::Support20250201::ChatEvent
100 101 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 100
def self.new: (timestamp: Time, type: String, ?attachments: Array[Peddler::APIs::Support20250201::Attachment]?, ?message: String?, ?participant: Peddler::APIs::Support20250201::Participant?) -> Peddler::APIs::Support20250201::ChatEvent
| (Time, String, Array[Peddler::APIs::Support20250201::Attachment]?, String?, Peddler::APIs::Support20250201::Participant?) -> Peddler::APIs::Support20250201::ChatEvent
|
.parse ⇒ Peddler::APIs::Support20250201::ChatEvent
107 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 107
def self.parse: (?Hash[String | Symbol, untyped], **untyped) -> Peddler::APIs::Support20250201::ChatEvent
|
Instance Method Details
#members ⇒ [ :timestamp, :type, :attachments, :message, :participant ]
115 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 115
def members: () -> [ :timestamp, :type, :attachments, :message, :participant ]
|
#to_h ⇒ { timestamp: Time, type: String, attachments: Array[Peddler::APIs::Support20250201::Attachment]?, message: String?, participant: Peddler::APIs::Support20250201::Participant? }
116 |
# File 'sig/peddler/apis/support_2025_02_01.rbs', line 116
def to_h: () -> { timestamp: Time, type: String, attachments: Array[Peddler::APIs::Support20250201::Attachment]?, message: String?, participant: Peddler::APIs::Support20250201::Participant? }
|